示例#1
0
from gearopedia import db

# create the database and the db table
db.create_all()

# insert data

# commit the changes
db.session.commit()
示例#2
0
from gearopedia import db

# create the database and the db table
db.create_all()

# insert data


# commit the changes
db.session.commit()
示例#3
0
 def setUp(self):
     db.create_all()