pgroll
pgroll copied to clipboard
pgroll init --role app_admin ignores --role
Title says it all. There is no error nothing.
--role: The Postgres role to use for all pgroll DDL operations (default: "", which doesn't set any role).
Or I m misunderstanding something and this is intended for some reason?
pgroll init --role app_admin
SUCCESS Initialization complete
postgres=# \dns
List of schemas
Name | Owner
--------+-------------------
pgroll | postgres
postgres=# \du
List of roles
Role name | Attributes
-----------+------------------------------------------------------------
app_admin | Superuser, Cannot login
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS