cyborg/cyborg/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:
$ cyborg-dbsync revision --message --autogenerate
Stamp db with most recent migration version, without actually running migrations
$ cyborg-dbsync stamp --revision head
Upgrade can be performed by:
$ cyborg-dbsync - for backward compatibility
$ cyborg-dbsync upgrade
# cyborg-dbsync upgrade --revision head