Blame createdb.py

Pierre-Yves Chibon 066e85
#!/usr/bin/python
Pierre-Yves Chibon 066e85
Pierre-Yves Chibon 066e85
## These two lines are needed to run on EL6
Pierre-Yves Chibon 066e85
__requires__ = ['SQLAlchemy >= 0.7', 'jinja2 >= 2.4']
Pierre-Yves Chibon 066e85
import pkg_resources
Pierre-Yves Chibon 066e85
Pierre-Yves Chibon 066e85
from progit import APP
Pierre-Yves Chibon 066e85
from progit import model
Pierre-Yves Chibon 066e85
Pierre-Yves Chibon 066e85
model.create_tables(
Pierre-Yves Chibon 066e85
    APP.config['DB_URL'],
Pierre-Yves Chibon 066e85
    APP.config.get('PATH_ALEMBIC_INI', None),
Pierre-Yves Chibon 69477a
    debug=True)