mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Set permissions on relationship_type sequence.
This commit is contained in:
parent
6f1bf2feed
commit
2e2aa372be
@ -92,6 +92,7 @@ CREATE TABLE relationship_type (
|
|||||||
);
|
);
|
||||||
|
|
||||||
GRANT SELECT,INSERT,UPDATE,DELETE ON relationship_type TO general;
|
GRANT SELECT,INSERT,UPDATE,DELETE ON relationship_type TO general;
|
||||||
|
GRANT SELECT,UPDATE ON relationship_type_rt_id_seq TO general;
|
||||||
|
|
||||||
CREATE TABLE relationship (
|
CREATE TABLE relationship (
|
||||||
from_user INT REFERENCES usr (user_no) ON UPDATE CASCADE,
|
from_user INT REFERENCES usr (user_no) ON UPDATE CASCADE,
|
||||||
@ -102,3 +103,4 @@ CREATE TABLE relationship (
|
|||||||
);
|
);
|
||||||
|
|
||||||
GRANT SELECT,INSERT,UPDATE,DELETE ON relationship TO general;
|
GRANT SELECT,INSERT,UPDATE,DELETE ON relationship TO general;
|
||||||
|
SELECT new_db_revision(1,1,1, 'January' );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user