summaryrefslogtreecommitdiffstats
path: root/cyborg_enhancement/mitaka_version/cyborg/cyborg/db/sqlalchemy/alembic/README
blob: 9af08b377a46c32996e8eb771c41ce2c365e26a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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