rake-db 2.37.11 → 2.37.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5142,6 +5142,7 @@ const defaultPrivilegesSql = `SELECT COALESCE(json_agg(t.*), '[]') FROM (
|
|
|
5142
5142
|
array_agg(ae.is_grantable) "isGrantables"
|
|
5143
5143
|
FROM pg_default_acl d
|
|
5144
5144
|
JOIN LATERAL aclexplode(d.defaclacl) ae ON true
|
|
5145
|
+
WHERE d.defaclnamespace <> 0 OR ae.grantee <> d.defaclrole
|
|
5145
5146
|
GROUP BY "grantor", "grantee", "schema", "object"
|
|
5146
5147
|
) t`;
|
|
5147
5148
|
const grantsSql = `SELECT COALESCE(json_agg(t.* ORDER BY t."target", t."schema", t."name", t."grantee", t."grantor"), '[]') FROM (
|