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