Files
digiserver/clear_db.py

7 lines
121 B
Python

# drop_user_table.py
from app import app, db
with app.app_context():
db.drop_all()
print("Dropped all tables.")