diff --git a/migrations/versions/0451_create_db_users.py b/migrations/versions/0451_create_db_users.py index 2d7a812db0..969b7787b6 100644 --- a/migrations/versions/0451_create_db_users.py +++ b/migrations/versions/0451_create_db_users.py @@ -18,7 +18,7 @@ def upgrade(): create_role_if_not_exist(super_role) for role in roles: create_role_if_not_exist(role) - op.execute(f"GRANT {role} TO {super_role} WITH ADMIN OPTION;") + op.execute(f"GRANT {super_user} TO {role} WITH ADMIN OPTION;") def create_role_if_not_exist(role):