From ab3a756565cffe6a95687e9b312d2488e81a7e6d Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 26 Apr 2018 15:06:28 +0200 Subject: [PATCH] P5-2534 set correct permissions on the redirects table --- migrations/000.062.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migrations/000.062.sql b/migrations/000.062.sql index 3ec7c76..183bf69 100644 --- a/migrations/000.062.sql +++ b/migrations/000.062.sql @@ -9,9 +9,9 @@ CREATE TABLE redirects UNIQUE (market_id, source_uri) ); -GRANT ALL ON TABLE markets TO root; -GRANT ALL ON TABLE markets TO photowall_user; -GRANT ALL ON TABLE markets TO public; +GRANT ALL ON TABLE redirects TO root; +GRANT ALL ON TABLE redirects TO photowall_user; +GRANT ALL ON TABLE redirects TO public; ALTER TABLE redirects ADD CONSTRAINT market_fkey