Blame createdb.py

Pierre-Yves Chibon 346fa0
#!/usr/bin/env python2
Pierre-Yves Chibon 066e85
Pierre-Yves Chibon 50adc2
# These two lines are needed to run on EL6
Pierre-Yves Chibon ee9b42
__requires__ = ['SQLAlchemy >= 0.8', '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)