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

db.create_all()
Пример #3
0
from cinch import db
db.create_all()