#!/usr/bin/env python3 """ Script to set Ronny's role to SUPERADMIN """ import sys import os # Add parent directory to path to import app modules sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from sqlalchemy import text from app.database import engine def set_ronny_superadmin(): """Set Ronny's role to SUPERADMIN""" with engine.connect() as conn: # Update Ronny's role conn.execute(text(""" UPDATE "user" SET role = 'SUPERADMIN' WHERE username = 'Ronny' """)) conn.commit() print("✅ Ronny's role updated to SUPERADMIN") if __name__ == "__main__": set_ronny_superadmin()