swissvotes.upgrade

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

Functions

rename_recommendation_columns(→ None)

add_tsvector_columns(→ None)

add_parliament_position_columns(→ None)

add_cantonal_result_columns(→ None)

add_order_column_to_pagess(→ None)

add_recommendations_column(→ None)

add_bfs_map_columns(→ None)

add_other_recommendation_columns(→ None)

add_divergent_recommendations_column(→ None)

rename_sbv_usp_column(→ None)

add_french_and_short_title_columns(→ None)

add_national_council_share_parole_columns(→ None)

remove_decade_column(→ None)

add_curiavista_and_additional_links(→ None)

add_poster_yes_no(→ None)

add_meta_content(→ None)

add_swissvoteslink(→ None)

change_procedure_number_type(→ None)

add_post_vote_poll_links(→ None)

add_media_fields(→ None)

add_additional_poster_links(→ None)

change_media_tonality_types(→ None)

add_die_mittel_columns(→ None)

add_brief_description_title(→ None)

move_links_to_meta(→ None)

drop_unused_columns(→ None)

rename_national_council_share_sps_column(→ None)

add_more_recommendation_columns(→ None)

add_campaign_material_meta_column(→ None)

add_tsvector_column_it(→ None)

add_tsvector_column_en(→ None)

drop_departement_in_charge_columns(→ None)

add_english_short_title_column(→ None)

add_parliamentary_initiative(→ None)

add_meta_to_pages(→ None)

add_french_initiator_and_recommendations(→ None)

add_campaign_finances(→ None)

rename_file_associations_keys(→ None)

add_english_bfs_map(→ None)

add_bfs_dashboard(→ None)

Module Contents

swissvotes.upgrade.rename_recommendation_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_tsvector_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_parliament_position_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_cantonal_result_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_order_column_to_pagess(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_recommendations_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_bfs_map_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_other_recommendation_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_divergent_recommendations_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.rename_sbv_usp_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_french_and_short_title_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_national_council_share_parole_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.remove_decade_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_poster_yes_no(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_meta_content(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.change_procedure_number_type(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_post_vote_poll_links(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_media_fields(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.change_media_tonality_types(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_die_mittel_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_brief_description_title(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.drop_unused_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.rename_national_council_share_sps_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_more_recommendation_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_campaign_material_meta_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_tsvector_column_it(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_tsvector_column_en(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.drop_departement_in_charge_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_english_short_title_column(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_parliamentary_initiative(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_meta_to_pages(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_french_initiator_and_recommendations(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_campaign_finances(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.rename_file_associations_keys(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_english_bfs_map(context: onegov.core.upgrade.UpgradeContext) None[source]
swissvotes.upgrade.add_bfs_dashboard(context: onegov.core.upgrade.UpgradeContext) None[source]