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

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

    create_db(True, False)
    init_db()