Example #1
0
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()
Example #2
0
 def setUp(self):
     models.create_db(True, True)
     models.init_db()
Example #3
0
 def setUp(self):
     models.create_db(True, True)
     models.init_db()
Example #4
0
def create_tables():
    """Create the database tables."""
    from redash.models import create_db, init_db

    create_db(True, False)
    init_db()
Example #5
0
def create_tables():
    """Create the database tables."""
    from redash.models import create_db, init_db

    create_db(True, False)
    init_db()