From 6deff625869ced4f55addf0d291d168a3fc7333f Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Thu, 18 Jan 2024 21:42:38 +0000 Subject: [PATCH] Explain why permissions are set only on raw --- conversion/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conversion/Makefile b/conversion/Makefile index aa3dc30..34d0e9a 100644 --- a/conversion/Makefile +++ b/conversion/Makefile @@ -130,6 +130,8 @@ restore: $(PSQL_DEPENDS) | psql $(PSQL_ARGS) --set=ON_ERROR_STOP=y ## grant_permissions Give readers and writers read permission to all tables. +# This only needs to be done to the raw schema because of the way raw is +# copied into the other schemas. .PHONY: grant_permissions grant_permissions: $(PSQL_DEPENDS) grant_permissions.sql ( $(PSQL_RAW_SETUP) \ -- 2.34.1