def create_tables(): """Create the database tables.""" from redash.models import db, init_db db.create_all() # Need to mark current DB as up to date stamp() init_db()
def setUp(self): models.create_db(True, True) models.init_db()
def create_tables(): """Create the database tables.""" from redash.models import create_db, init_db create_db(True, False) init_db()