예제 #1
0
def create_db():
    """
    Creates a database with all of the tables defined in
    your Alchemy models
    """
    db.create_all()
예제 #2
0
 def setUp(self):
     self.test_app = app.test_client()
     db.create_all()
예제 #3
0
파일: tests.py 프로젝트: Adrellias/sketchy
 def setUp(self):
     self.test_app = app.test_client()
     db.create_all()
예제 #4
0
파일: manage.py 프로젝트: hj3938/sketchy
def create_db():
    """
    Creates a database with all of the tables defined in
    your Alchemy models
    """
    db.create_all()