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