mogan/mogan/db/sqlalchemy/alembic/README

13 lines
434 B
Plaintext

Please see https://alembic.readthedocs.org/en/latest/index.html for general documentation
To create alembic migrations use:
$ nimble-dbsync revision --message --autogenerate
Stamp db with most recent migration version, without actually running migrations
$ nimble-dbsync stamp --revision head
Upgrade can be performed by:
$ nimble-dbsync - for backward compatibility
$ nimble-dbsync upgrade
# nimble-dbsync upgrade --revision head