def drop_db():
    engine = db_session.get_engine()
    OLD_BASE = declarative_base()
    OLD_BASE.metadata.reflect(bind=engine)
    OLD_BASE.metadata.drop_all(engine, checkfirst=True)
def create_db():
    BASE.metadata.create_all(db_session.get_engine())