notice.upgrade ============== .. py:module:: notice.upgrade .. autoapi-nested-parse:: Contains upgrade tasks that are executed when the application is being upgraded on the server. See :class:`onegov.core.upgrade.upgrade_task`. Functions --------- .. autoapisummary:: notice.upgrade.add_categories notice.upgrade.add_organizations notice.upgrade.add_author_fields notice.upgrade.add_imported_state_to_notices notice.upgrade.add_source_column_to_notices notice.upgrade.add_expiry_date_column_to_notices notice.upgrade.add_note_to_notices notice.upgrade.make_official_notice_polymorphic_type_non_nullable Module Contents --------------- .. py:function:: add_categories(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_organizations(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_author_fields(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_imported_state_to_notices(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_source_column_to_notices(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_expiry_date_column_to_notices(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_note_to_notices(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: make_official_notice_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) -> None