def drop_db():
  """
  Drop the DB.
  """
  # TODO: ask for confirmation.
  with app.app_context():
    db.drop_all()
def create_db():
  if not exists("data"):
    mkdir("data")

  with app.app_context():
    db.create_all()