Ejemplo 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()
Ejemplo 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()
Ejemplo n.º 3
0
 def setUp(self):
     db.create_all()