election_day.upgrade

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

Functions

create_archived_results(→ None)

add_id_to_archived_results(→ None)

update_vote_progress(→ None)

add_elected_candidates(→ None)

add_content_columns_to_archived_results(→ None)

change_last_change_columns(→ None)

make_subscriber_polymorphic(→ None)

make_notifications_polymorphic(→ None)

apply_static_data(→ None)

add_election_compound_to_archive(→ None)

add_contraints_to_notifications_and_sources(→ None)

enable_expats(→ None)

add_active_column_to_subscriver(→ None)

add_election_compound_notification(→ None)

make_election_day_models_polymorphic_type_non_nullable(→ None)

add_domain_and_segment_to_screens(→ None)

add_has_results_to_archived_results(→ None)

delete_websocket_notifications(→ None)

make_upload_take_none_nullable(→ None)

add_domain_and_segment_to_subscribers(→ None)

add_short_title(→ None)

add_active_inactive_since_columns(→ None)

Module Contents

election_day.upgrade.create_archived_results(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_id_to_archived_results(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.update_vote_progress(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_elected_candidates(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_content_columns_to_archived_results(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.change_last_change_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.make_subscriber_polymorphic(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.make_notifications_polymorphic(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.apply_static_data(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_election_compound_to_archive(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_contraints_to_notifications_and_sources(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.enable_expats(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_active_column_to_subscriver(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_election_compound_notification(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.make_election_day_models_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_domain_and_segment_to_screens(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_has_results_to_archived_results(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.delete_websocket_notifications(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.make_upload_take_none_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_domain_and_segment_to_subscribers(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_short_title(context: onegov.core.upgrade.UpgradeContext) None[source]
election_day.upgrade.add_active_inactive_since_columns(context: onegov.core.upgrade.UpgradeContext) None[source]