mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
A few minor database changes.
This commit is contained in:
parent
2f8eb21b82
commit
73219e4f57
@ -334,7 +334,9 @@ CREATE TABLE addressbook_resource (
|
|||||||
n TEXT, -- Name Surname;First names
|
n TEXT, -- Name Surname;First names
|
||||||
note TEXT,
|
note TEXT,
|
||||||
org TEXT,
|
org TEXT,
|
||||||
url TEXT
|
url TEXT,
|
||||||
|
fburl TEXT,
|
||||||
|
caluri TEXT
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE addressbook_address_adr (
|
CREATE TABLE addressbook_address_adr (
|
||||||
@ -366,7 +368,8 @@ CREATE TABLE calendar_alarm (
|
|||||||
summary TEXT,
|
summary TEXT,
|
||||||
description TEXT,
|
description TEXT,
|
||||||
next_trigger TIMESTAMP WITH TIME ZONE,
|
next_trigger TIMESTAMP WITH TIME ZONE,
|
||||||
component TEXT -- The full text of the component
|
component TEXT, -- The full text of the component
|
||||||
|
trigger_state trigger_state CHAR DEFAULT 'N' -- 'N' => 'New/Needs setting', 'A' = 'Active', 'O' = 'Old'
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE calendar_attendee (
|
CREATE TABLE calendar_attendee (
|
||||||
@ -381,4 +384,4 @@ CREATE TABLE calendar_attendee (
|
|||||||
PRIMARY KEY ( dav_id, attendee )
|
PRIMARY KEY ( dav_id, attendee )
|
||||||
);
|
);
|
||||||
|
|
||||||
SELECT new_db_revision(1,2,8, 'Août' );
|
SELECT new_db_revision(1,2,9, 'Septembre' );
|
||||||
|
|||||||
21
dba/patches/1.2.9.sql
Normal file
21
dba/patches/1.2.9.sql
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
-- This database update adds support for tickets to be handed out to grant
|
||||||
|
-- specific access to a collection or individual resource, as read-only or
|
||||||
|
-- read-write. A table is also added to manage WebDAV binding, in line
|
||||||
|
-- with http://tools.ietf.org/html/draft-ietf-webdav-bind.
|
||||||
|
|
||||||
|
BEGIN;
|
||||||
|
SELECT check_db_revision(1,2,8);
|
||||||
|
|
||||||
|
-- Kind of important to have these as first-class citizens
|
||||||
|
ALTER TABLE addressbook_resource ADD COLUMN fburl TEXT DEFAULT NULL;
|
||||||
|
ALTER TABLE addressbook_resource ADD COLUMN caluri TEXT DEFAULT NULL;
|
||||||
|
|
||||||
|
-- 'N' => 'New/Needs setting', 'A' = 'Active', 'O' = 'Old'
|
||||||
|
ALTER TABLE calendar_alarm ADD COLUMN trigger_state trigger_state CHAR DEFAULT 'N';
|
||||||
|
|
||||||
|
SELECT new_db_revision(1,2,9, 'Septembre' );
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
ROLLBACK;
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user