예제 #1
0
def createdb():
    """ Make the database. """
    logger.info('Create DB')
    logger.info('Create Extensions')
    db.engine.execute("CREATE EXTENSION IF NOT EXISTS hstore;")
    db.engine.execute("CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;")
    db.create_all()
예제 #2
0
def createdb():
    """ Make the database. """
    db.create_all()
예제 #3
0
def createdb():
    """ Make the database. """
    db.engine.execute("CREATE EXTENSION IF NOT EXISTS hstore;")
    db.engine.execute("CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;")
    db.create_all()
예제 #4
0
def createdb():
    """ Make the database. """
    db.create_all()