From f12750eac46923898691ba5c83b64d7cf7491f8c Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 28 Mar 2018 17:26:44 +0200 Subject: [PATCH] P5-2392 set permissions on the markets table --- migrations/000.059.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migrations/000.059.sql b/migrations/000.059.sql index 91ee4df..504a99a 100644 --- a/migrations/000.059.sql +++ b/migrations/000.059.sql @@ -7,6 +7,10 @@ CREATE TABLE markets locale_id integer ); +GRANT ALL ON TABLE markets TO root; +GRANT ALL ON TABLE markets TO photowall_user; +GRANT ALL ON TABLE markets TO public; + ALTER TABLE markets ADD CONSTRAINT locale_fkey FOREIGN KEY (locale_id)