Beispiel #1
0
 def drop_and_recreate_db():
     db.session.remove()  # make sure we start with a new session
     db.drop_all()
     db.create_all()
Beispiel #2
0
from cinch import db

db.create_all()
Beispiel #3
0
from cinch import db
db.create_all()