Exemple #1
0
def resetdb():
    """Drops and creates the database."""
    db.drop_all()
    db.create_all()
Exemple #2
0
def syncdb():
    """Creates missing database tables."""
    db.create_all()