示例#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
 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()