translator_directory.upgrade ============================ .. py:module:: translator_directory.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:: translator_directory.upgrade.change_withholding_tax_column_type translator_directory.upgrade.add_meta_content_columns translator_directory.upgrade.add_imported_column translator_directory.upgrade.add_self_employed_column translator_directory.upgrade.add_unique_constraint_to_translator_email translator_directory.upgrade.add_translator_type translator_directory.upgrade.add_translator_profession translator_directory.upgrade.add_hometown translator_directory.upgrade.remove_nationality_column Module Contents --------------- .. py:function:: change_withholding_tax_column_type(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_meta_content_columns(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_imported_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_self_employed_column(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_unique_constraint_to_translator_email(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_translator_type(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_translator_profession(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: add_hometown(context: onegov.core.upgrade.UpgradeContext) -> None .. py:function:: remove_nationality_column(context: onegov.core.upgrade.UpgradeContext) -> None