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