core.upgrades
¶
Contains upgrade tasks that are executed when the application is being
upgraded on the server. See onegov.core.upgrade.upgrade_task
.
Module Contents¶
Functions¶
|
Migrates all text base json columns to jsonb. |
|
- 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]¶