Mariam-metho / reset_db.py
kuro223's picture
o
8bdef7b
raw
history blame contribute delete
142 Bytes
from app import app, db, add_sample_data
with app.app_context():
db.drop_all()
db.create_all()
print("Database reset complete.")