Beispiel #1
0
def create_db():
    """
    Creates a database with all of the tables defined in
    your Alchemy models
    """
    db.create_all()
Beispiel #2
0
 def setUp(self):
     self.test_app = app.test_client()
     db.create_all()
Beispiel #3
0
 def setUp(self):
     self.test_app = app.test_client()
     db.create_all()
Beispiel #4
0
def create_db():
    """
    Creates a database with all of the tables defined in
    your Alchemy models
    """
    db.create_all()