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