mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Structure changes for grants on collections.
This commit is contained in:
1 parent
aea53f9da6
commit
10bfc96016
4 files changed
+99
-72
No files matched your search
+1
-2
@@ -277,7 +277,7 @@ CREATE INDEX group_member_sk ON group_member(member_id);
|
||||
|
||||
CREATE TABLE grants (
|
||||
by_principal INT8 REFERENCES principal(principal_id) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE,
|
||||
dav_name TEXT,
|
||||
by_collection INT8 REFERENCES collection(collection_id) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE,
|
||||
to_principal INT8 REFERENCES principal(principal_id) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE,
|
||||
privileges BIT(24),
|
||||
is_group BOOLEAN,
|
||||
@@ -300,5 +300,4 @@ CREATE TABLE sync_changes (
|
||||
);
|
||||
CREATE INDEX sync_processing_index ON sync_changes( collection_id, dav_id, sync_time );
|
||||
|
||||
|
||||
SELECT new_db_revision(1,2,7, 'Juillet' );
|
||||
Reference in new issue
Block a user