def resetdb(): """Drops and creates the database.""" db.drop_all() db.create_all()
def syncdb(): """Creates missing database tables.""" db.create_all()