election_day.upgrade ==================== .. py:module:: election_day.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:: election_day.upgrade.create_archived_results election_day.upgrade.add_id_to_archived_results election_day.upgrade.update_vote_progress election_day.upgrade.add_elected_candidates election_day.upgrade.add_content_columns_to_archived_results election_day.upgrade.change_last_change_columns election_day.upgrade.make_subscriber_polymorphic election_day.upgrade.make_notifications_polymorphic election_day.upgrade.apply_static_data election_day.upgrade.add_election_compound_to_archive election_day.upgrade.add_contraints_to_notifications_and_sources election_day.upgrade.enable_expats election_day.upgrade.add_active_column_to_subscriver election_day.upgrade.add_election_compound_notification election_day.upgrade.make_election_day_models_polymorphic_type_non_nullable election_day.upgrade.add_domain_and_segment_to_screens election_day.upgrade.add_has_results_to_archived_results election_day.upgrade.delete_websocket_notifications election_day.upgrade.make_upload_take_none_nullable election_day.upgrade.add_domain_and_segment_to_subscribers election_day.upgrade.add_short_title election_day.upgrade.add_active_inactive_since_columns Module Contents --------------- .. py:function:: create_archived_results(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_id_to_archived_results(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: update_vote_progress(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_elected_candidates(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_content_columns_to_archived_results(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: change_last_change_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: make_subscriber_polymorphic(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: make_notifications_polymorphic(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: apply_static_data(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_election_compound_to_archive(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_contraints_to_notifications_and_sources(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: enable_expats(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_active_column_to_subscriver(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_election_compound_notification(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: make_election_day_models_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_domain_and_segment_to_screens(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_has_results_to_archived_results(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: delete_websocket_notifications(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: make_upload_take_none_nullable(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_domain_and_segment_to_subscribers(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_short_title(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_active_inactive_since_columns(context: onegov.core.upgrade.UpgradeContext) -> None