P5-2392 set permissions on the markets table
This commit is contained in:
@@ -7,6 +7,10 @@ CREATE TABLE markets
|
|||||||
locale_id integer
|
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
|
ALTER TABLE markets
|
||||||
ADD CONSTRAINT locale_fkey
|
ADD CONSTRAINT locale_fkey
|
||||||
FOREIGN KEY (locale_id)
|
FOREIGN KEY (locale_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user