]> git.datanom.net - wpp.git/blame - db_upgrade.py
rm test access
[wpp.git] / db_upgrade.py
CommitLineData
047d4d29
MR
1#!flask/bin/python
2from migrate.versioning import api
3from config import SQLALCHEMY_DATABASE_URI
4from config import SQLALCHEMY_MIGRATE_REPO
5api.upgrade(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)
6v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)
7print('Current database version: ' + str(v))
This page took 0.0397149999999999 seconds and 5 git commands to generate.