def unregister_db(): engine = get_engine() BaseModel.metadata.drop_all(engine)
def register_db(): engine = get_engine() BaseModel.metadata.create_all(engine)