Update seed.py

This commit is contained in:
2025-04-15 10:00:57 +02:00
parent fed86de3bb
commit 0a05885801

View File

@@ -15,7 +15,7 @@ new_user = User(username="admin", password=generate_password_hash("admin"))
with app.app_context(): with app.app_context():
# Remove all existing # Remove all existing
Service.query.delete() # Service.query.delete()
User.query.delete() User.query.delete()
db.session.commit() db.session.commit()
# Then add new # Then add new