notice.upgrade

Contains upgrade tasks that are executed when the application is being upgraded on the server. See onegov.core.upgrade.upgrade_task.

Functions

add_categories(→ None)

add_organizations(→ None)

add_author_fields(→ None)

add_imported_state_to_notices(→ None)

add_source_column_to_notices(→ None)

add_expiry_date_column_to_notices(→ None)

add_note_to_notices(→ None)

make_official_notice_polymorphic_type_non_nullable(→ None)

Module Contents

notice.upgrade.add_categories(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.add_organizations(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.add_author_fields(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.add_imported_state_to_notices(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.add_source_column_to_notices(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.add_expiry_date_column_to_notices(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.add_note_to_notices(context: onegov.core.upgrade.UpgradeContext) None[source]
notice.upgrade.make_official_notice_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]