P5-2392 set permissions on the markets table

This commit is contained in:
Martin
2018-03-28 17:26:44 +02:00
parent 0986172941
commit f12750eac4
+4
View File
@@ -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)