from app import app, db

with app.app_context():
    db.drop_all()
    db.create_all()
    print("Database cleared and re-initialized.")
