Initial commit - LEGO Instructions Manager v1.5.0

This commit is contained in:
jessikitty committed 2025-12-09 17:20:41 +11:00
commit 63496b1ccd
68 files changed
+9131

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
from app import create_app, db
from app.models.user import User
app = create_app()
with app.app_context():
# Find your user
user = User.query.filter_by(username='jessikitty').first()
# Make them admin
user.is_admin = True
db.session.commit()
print(f"{user.username} is now an admin!")