diff --git a/src/lib/db.py b/src/lib/db.py index 061f3a6..b8ad30e 100644 --- a/src/lib/db.py +++ b/src/lib/db.py @@ -80,12 +80,13 @@ def seed_db() -> None: hashed_admin_password = hash_password(os.getenv("ADMIN_PASSWORD")) with get_connection() as conn: conn.execute( - 'INSERT INTO "User" (username, hashed_password, team_id, is_active) VALUES (?, ?, ?, ?)', + 'INSERT INTO "User" (username, hashed_password, team_id, is_active, is_admin) VALUES (?, ?, ?, ?, ?)', ( admin_username, hashed_admin_password, 1, True, + True, ), )