Beispiel #1
0
from gearopedia import db

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

# insert data

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

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

# insert data


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