translator_directory.upgrade

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

Functions

change_withholding_tax_column_type(→ None)

add_meta_content_columns(→ None)

add_imported_column(→ None)

add_self_employed_column(→ None)

add_unique_constraint_to_translator_email(→ None)

add_translator_type(→ None)

add_translator_profession(→ None)

add_hometown(→ None)

remove_nationality_column(→ None)

Module Contents

translator_directory.upgrade.change_withholding_tax_column_type(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_meta_content_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_imported_column(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_self_employed_column(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_unique_constraint_to_translator_email(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_translator_type(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_translator_profession(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.add_hometown(context: onegov.core.upgrade.UpgradeContext) None[source]
translator_directory.upgrade.remove_nationality_column(context: onegov.core.upgrade.UpgradeContext) None[source]