]>
git.datanom.net - wpp.git/blob - db_create.py
2 from migrate
.versioning
import api
3 from config
import SQLALCHEMY_DATABASE_URI
4 from config
import SQLALCHEMY_MIGRATE_REPO
8 if not os
.path
.exists(SQLALCHEMY_MIGRATE_REPO
):
9 api
.create(SQLALCHEMY_MIGRATE_REPO
, 'database repository')
10 api
.version_control(SQLALCHEMY_DATABASE_URI
, SQLALCHEMY_MIGRATE_REPO
)
12 api
.version_control(SQLALCHEMY_DATABASE_URI
, SQLALCHEMY_MIGRATE_REPO
, api
.version(SQLALCHEMY_MIGRATE_REPO
))
This page took 0.111017 seconds and 6 git commands to generate.