Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 439 Bytes

migrate-downgrade.md

File metadata and controls

10 lines (6 loc) · 439 Bytes

Applying a migration: Downgrade

Migrations can also be undone, by downgrading the database schema to a migration preceding its current one:

[PYCDS_SCHEMA_NAME=<schema name>] [PYCDS_SU_ROLE_NAME=<role name>] alembic -x db=<db-label> downgrade <rev-id>

For information on revision identifiers, see Partial Revision Identifiers.