From 4febabaa146f267ef6f377eace13844c6e10c10a Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 31 Jul 2018 18:26:36 +0200 Subject: [PATCH] P5-2963 set correct permissions on the samples table --- migrations/000.068.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migrations/000.068.sql b/migrations/000.068.sql index d4a0143..aa2d2b5 100644 --- a/migrations/000.068.sql +++ b/migrations/000.068.sql @@ -10,6 +10,10 @@ CREATE TABLE samples address_id INTEGER ); +GRANT ALL ON TABLE samples TO root; +GRANT ALL ON TABLE samples TO photowall_user; +GRANT ALL ON TABLE samples TO public; + ALTER TABLE samples ADD CONSTRAINT material_fkey FOREIGN KEY (material_id)