Example #1
0
def create_tables():
    with application.app_context():
        db_create_tables(application.config['SQLALCHEMY_DATABASE_URI'])
Example #2
0
def create_tables():
    db_create_tables(current_app.config['SQLALCHEMY_DATABASE_URI'])
Example #3
0
def create_tables():
    with application.app_context():
        db_create_tables(application.config['SQLALCHEMY_DATABASE_URI'])