people.upgrade

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

Functions

rename_academic_title_to_salutation(→ None)

add_function_column(→ None)

add_notes_column(→ None)

add_person_type_column(→ None)

add_meta_data_and_content_columns(→ None)

add_additional_person_columns(→ None)

add_parliamentary_group_column(→ None)

rename_order(→ None)

add_order_within_person_column(→ None)

add_publication_dates_to_agency_models(→ None)

make_people_models_polymorphic_type_non_nullable(→ None)

add_address_columns_to_agency(→ None)

fix_agency_address_column(→ None)

Module Contents

people.upgrade.rename_academic_title_to_salutation(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_function_column(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_notes_column(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_person_type_column(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_meta_data_and_content_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_additional_person_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_parliamentary_group_column(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.rename_order(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_order_within_person_column(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_publication_dates_to_agency_models(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.make_people_models_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.add_address_columns_to_agency(context: onegov.core.upgrade.UpgradeContext) None[source]
people.upgrade.fix_agency_address_column(context: onegov.core.upgrade.UpgradeContext) None[source]