mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Starting to think about tickets for granting permissions.
This commit is contained in:
parent
5420f7c533
commit
4f5badd549
@ -301,4 +301,15 @@ 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' );
|
||||
|
||||
CREATE TABLE access_ticket (
|
||||
ticket_id TEXT PRIMARY KEY,
|
||||
is_collection BOOLEAN,
|
||||
is_public BOOLEAN,
|
||||
privileges BIT(24),
|
||||
target_id INT8,
|
||||
displayname TEXT,
|
||||
expires TIMESTAMP,
|
||||
);
|
||||
|
||||
SELECT new_db_revision(1,2,8, 'Août' );
|
||||
|
||||
23
dba/patches/1.2.8.sql
Normal file
23
dba/patches/1.2.8.sql
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
-- This database update adds support for the draft webdav-sync specification
|
||||
-- as well as some initial support for addressbook collections which will
|
||||
-- be needed to support carddav.
|
||||
|
||||
BEGIN;
|
||||
SELECT check_db_revision(1,2,7);
|
||||
|
||||
CREATE TABLE access_ticket (
|
||||
ticket_id TEXT PRIMARY KEY,
|
||||
is_collection BOOLEAN,
|
||||
is_public BOOLEAN,
|
||||
privileges BIT(24),
|
||||
target_id INT8,
|
||||
displayname TEXT,
|
||||
expires TIMESTAMP,
|
||||
);
|
||||
|
||||
SELECT new_db_revision(1,2,8, 'Août' );
|
||||
|
||||
COMMIT;
|
||||
ROLLBACK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user