From 732625c84cb656f2bf765da9c55fb6a0413372d2 Mon Sep 17 00:00:00 2001 From: Rodrigo Mansueli Date: Mon, 15 Apr 2024 15:07:42 -0300 Subject: [PATCH] chore: Update using-custom-schemas.mdx make it explicit that these commands need to be run on DDL changes. --- apps/docs/content/guides/api/using-custom-schemas.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/docs/content/guides/api/using-custom-schemas.mdx b/apps/docs/content/guides/api/using-custom-schemas.mdx index 3e2cded951f..376bbae5f36 100644 --- a/apps/docs/content/guides/api/using-custom-schemas.mdx +++ b/apps/docs/content/guides/api/using-custom-schemas.mdx @@ -19,6 +19,12 @@ ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA myschema GRANT ALL ON ROUTI ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA myschema GRANT ALL ON SEQUENCES TO anon, authenticated, service_role; ``` + + +It is necessary to run these commands after adding new tables to the schema. + + + Now you can access these schemas from data APIs: