Esempio n. 1
0
from gearopedia import db

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

# insert data

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

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

# insert data


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