Create a new role - postgres docs
Arguments:
role_name
[Name] - name of the new rolerole_options
[object] - options:superuser
[boolean] - default falsecreatedb
[boolean] - default falsecreaterole
[boolean] - default falseinherit
[boolean] - default truelogin
[boolean] - default falsereplication
[boolean] - default falsebypassrls
[boolean]limit
[number] -password
[string] -encrypted
[boolean] - default truevalid
[string] - timestampinRole
[string or array of strings] - role or array of rolesrole
[string or array of strings] - role or array of rolesadmin
[string or array of strings] - role or array of roles
Reverse Operation: dropRole
Drop a role - postgres docs
Arguments:
role_name
[Name] - name of the new role
Alter a role - postgres docs
Arguments:
Rename a role - postgres docs
Arguments: