swissvotes.upgrade ================== .. py:module:: swissvotes.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:: swissvotes.upgrade.rename_recommendation_columns swissvotes.upgrade.add_tsvector_columns swissvotes.upgrade.add_parliament_position_columns swissvotes.upgrade.add_cantonal_result_columns swissvotes.upgrade.add_order_column_to_pagess swissvotes.upgrade.add_recommendations_column swissvotes.upgrade.add_bfs_map_columns swissvotes.upgrade.add_other_recommendation_columns swissvotes.upgrade.add_divergent_recommendations_column swissvotes.upgrade.rename_sbv_usp_column swissvotes.upgrade.add_french_and_short_title_columns swissvotes.upgrade.add_national_council_share_parole_columns swissvotes.upgrade.remove_decade_column swissvotes.upgrade.add_curiavista_and_additional_links swissvotes.upgrade.add_poster_yes_no swissvotes.upgrade.add_meta_content swissvotes.upgrade.add_swissvoteslink swissvotes.upgrade.change_procedure_number_type swissvotes.upgrade.add_post_vote_poll_links swissvotes.upgrade.add_media_fields swissvotes.upgrade.add_additional_poster_links swissvotes.upgrade.change_media_tonality_types swissvotes.upgrade.add_die_mittel_columns swissvotes.upgrade.add_brief_description_title swissvotes.upgrade.move_links_to_meta swissvotes.upgrade.drop_unused_columns swissvotes.upgrade.rename_national_council_share_sps_column swissvotes.upgrade.add_more_recommendation_columns swissvotes.upgrade.add_campaign_material_meta_column swissvotes.upgrade.add_tsvector_column_it swissvotes.upgrade.add_tsvector_column_en swissvotes.upgrade.drop_departement_in_charge_columns swissvotes.upgrade.add_english_short_title_column swissvotes.upgrade.add_parliamentary_initiative swissvotes.upgrade.add_meta_to_pages swissvotes.upgrade.add_french_initiator_and_recommendations swissvotes.upgrade.add_campaign_finances swissvotes.upgrade.rename_file_associations_keys swissvotes.upgrade.add_english_bfs_map swissvotes.upgrade.add_bfs_dashboard swissvotes.upgrade.add_poster_columns_basel Module Contents --------------- .. py:function:: rename_recommendation_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_tsvector_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_parliament_position_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_cantonal_result_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_order_column_to_pagess(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_recommendations_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_bfs_map_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_other_recommendation_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_divergent_recommendations_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: rename_sbv_usp_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_french_and_short_title_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_national_council_share_parole_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: remove_decade_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_curiavista_and_additional_links(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_poster_yes_no(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_meta_content(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_swissvoteslink(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: change_procedure_number_type(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_post_vote_poll_links(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_media_fields(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_additional_poster_links(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: change_media_tonality_types(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_die_mittel_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_brief_description_title(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: move_links_to_meta(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: drop_unused_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: rename_national_council_share_sps_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_more_recommendation_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_campaign_material_meta_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_tsvector_column_it(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_tsvector_column_en(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: drop_departement_in_charge_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_english_short_title_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_parliamentary_initiative(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_meta_to_pages(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_french_initiator_and_recommendations(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_campaign_finances(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: rename_file_associations_keys(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_english_bfs_map(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_bfs_dashboard(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_poster_columns_basel(context: onegov.core.upgrade.UpgradeContext) -> None