mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
The prefix_match field and rt_inverse field are removed from relationship_type
because that model was too complex to be useful. We also explicitly indicate whether the relationship source or destination are groups separately.
This commit is contained in:
1 parent
46f26926c4
commit
7a1b2a0dd0
8 files changed
+44
-32
No files matched your search
+10
-10
@@ -17,20 +17,20 @@ INSERT INTO role_member (user_no, role_no) VALUES(1, 1);
|
||||
-- Set the insert sequence to the next number, with a minimum of 1000
|
||||
SELECT setval('usr_user_no_seq', (SELECT 1000 UNION SELECT user_no FROM usr ORDER BY 1 DESC LIMIT 1) );
|
||||
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers, prefix_match )
|
||||
VALUES( 1, 'Administers Group', TRUE, 'A', '' );
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers )
|
||||
VALUES( 1, 'Administers Group', TRUE, 'A' );
|
||||
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers, prefix_match )
|
||||
VALUES( 2, 'is Assistant to', FALSE, 'RW', '' );
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers )
|
||||
VALUES( 2, 'is Assistant to', FALSE, 'RW' );
|
||||
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers, prefix_match )
|
||||
VALUES( 3, 'Is a member of group', TRUE, 'R', '' );
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers )
|
||||
VALUES( 3, 'Is a member of group', TRUE, 'R' );
|
||||
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers, prefix_match )
|
||||
VALUES( 4, 'Administers Resource', FALSE, 'A', '' );
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers )
|
||||
VALUES( 4, 'Administers Resource', FALSE, 'A' );
|
||||
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers, prefix_match )
|
||||
VALUES( 5, 'Can see free/busy time of', FALSE, 'F', '' );
|
||||
INSERT INTO relationship_type ( rt_id, rt_name, rt_isgroup, confers )
|
||||
VALUES( 5, 'Can see free/busy time of', FALSE, 'F' );
|
||||
|
||||
|
||||
-- Set the insert sequence to the next number, with a minimum of 1000
|
||||
|
||||
Reference in new issue
Block a user