P5-2534 set correct permissions on the redirects table
This commit is contained in:
@@ -9,9 +9,9 @@ CREATE TABLE redirects
|
|||||||
UNIQUE (market_id, source_uri)
|
UNIQUE (market_id, source_uri)
|
||||||
);
|
);
|
||||||
|
|
||||||
GRANT ALL ON TABLE markets TO root;
|
GRANT ALL ON TABLE redirects TO root;
|
||||||
GRANT ALL ON TABLE markets TO photowall_user;
|
GRANT ALL ON TABLE redirects TO photowall_user;
|
||||||
GRANT ALL ON TABLE markets TO public;
|
GRANT ALL ON TABLE redirects TO public;
|
||||||
|
|
||||||
ALTER TABLE redirects
|
ALTER TABLE redirects
|
||||||
ADD CONSTRAINT market_fkey
|
ADD CONSTRAINT market_fkey
|
||||||
|
|||||||
Reference in New Issue
Block a user