iotronic/iotronic/db/sqlalchemy/alembic
Fabio Verboso e4cc384154 Boards info lr_version and mac_addr.
Change-Id: Id916e383b9f89f3685ec61efc2e93352ef920410
2019-02-04 11:42:35 +01:00
..
versions Boards info lr_version and mac_addr. 2019-02-04 11:42:35 +01:00
README Database migration 2018-08-07 15:53:36 +02:00
env.py Database migration 2018-08-07 15:53:36 +02:00
script.py.mako Database migration 2018-08-07 15:53:36 +02:00

README

Please see https://alembic.readthedocs.org/en/latest/index.html for general documentation

To create alembic migrations use:
$ iotronic-dbsync revision --message --autogenerate

Stamp db with most recent migration version, without actually running migrations
$ iotronic-dbsync stamp --revision head

Upgrade can be performed by:
$ iotronic-dbsync - for backward compatibility
$ iotronic-dbsync upgrade
# iotronic-dbsync upgrade --revision head