core.upgrades
Contains upgrade tasks that are executed when the application is being
upgraded on the server. See onegov.core.upgrade.upgrade_task
.
Functions
|
Migrates all text base json columns to jsonb. |
|
|
|
|
Module Contents
- core.upgrades.drop_primary_key_from_associated_tables(context: core.upgrade.UpgradeContext) None [source]
- core.upgrades.migrate_to_jsonb(connection: sqlalchemy.engine.Connection, schemas: Sequence[str]) Iterator[bool] [source]
Migrates all text base json columns to jsonb.
- core.upgrades.rename_associated_tables(context: core.upgrade.UpgradeContext) None [source]
- core.upgrades.remove_all_wtfs_tables(context: core.upgrade.UpgradeContext) None [source]
- core.upgrades.remove_redundant_page_to_general_file_links(context: core.upgrade.UpgradeContext) None [source]
- core.upgrades.unique_constraint_in_association_tables(context: core.upgrade.UpgradeContext) None [source]