mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-23 06:39:18 +00:00
More work on database patch.
This commit is contained in:
parent
0e1df68878
commit
16f70a9bdb
@ -301,6 +301,7 @@ CREATE TABLE sync_changes (
|
|||||||
);
|
);
|
||||||
CREATE INDEX sync_processing_index ON sync_changes( collection_id, dav_id, sync_time );
|
CREATE INDEX sync_processing_index ON sync_changes( collection_id, dav_id, sync_time );
|
||||||
|
|
||||||
|
-- Revision 1.2.7 endeth here.
|
||||||
|
|
||||||
CREATE TABLE access_ticket (
|
CREATE TABLE access_ticket (
|
||||||
ticket_id TEXT PRIMARY KEY,
|
ticket_id TEXT PRIMARY KEY,
|
||||||
@ -356,31 +357,30 @@ CREATE TABLE addressbook_address_adr (
|
|||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
type TEXT,
|
type TEXT,
|
||||||
adr TEXT,
|
adr TEXT,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE addressbook_address_tel (
|
CREATE TABLE addressbook_address_tel (
|
||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
type TEXT,
|
type TEXT,
|
||||||
tel TEXT,
|
tel TEXT,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE addressbook_address_email (
|
CREATE TABLE addressbook_address_email (
|
||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
type TEXT,
|
type TEXT,
|
||||||
email TEXT,
|
email TEXT,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE calendar_alarm (
|
CREATE TABLE calendar_alarm (
|
||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
action TEXT,
|
action TEXT,
|
||||||
trigger TEXT,
|
trigger TEXT,
|
||||||
summary TEXT,
|
summary TEXT,
|
||||||
description TEXT,
|
description TEXT,
|
||||||
full TEXT -- The full text of the component
|
component TEXT -- The full text of the component
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE calendar_attendee (
|
CREATE TABLE calendar_attendee (
|
||||||
@ -391,7 +391,7 @@ CREATE TABLE calendar_attendee (
|
|||||||
attendee TEXT,
|
attendee TEXT,
|
||||||
role TEXT,
|
role TEXT,
|
||||||
rsvp BOOLEAN,
|
rsvp BOOLEAN,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
SELECT new_db_revision(1,2,8, 'Août' );
|
SELECT new_db_revision(1,2,8, 'Août' );
|
||||||
|
|||||||
@ -63,21 +63,21 @@ CREATE TABLE addressbook_address_adr (
|
|||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
type TEXT,
|
type TEXT,
|
||||||
adr TEXT,
|
adr TEXT,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE addressbook_address_tel (
|
CREATE TABLE addressbook_address_tel (
|
||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
type TEXT,
|
type TEXT,
|
||||||
tel TEXT,
|
tel TEXT,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE addressbook_address_email (
|
CREATE TABLE addressbook_address_email (
|
||||||
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
dav_id INT8 NOT NULL REFERENCES caldav_data(dav_id) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
type TEXT,
|
type TEXT,
|
||||||
email TEXT,
|
email TEXT,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ CREATE TABLE calendar_alarm (
|
|||||||
trigger TEXT,
|
trigger TEXT,
|
||||||
summary TEXT,
|
summary TEXT,
|
||||||
description TEXT,
|
description TEXT,
|
||||||
full TEXT -- The full text of the component
|
component TEXT -- The full text of the component
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE calendar_attendee (
|
CREATE TABLE calendar_attendee (
|
||||||
@ -98,7 +98,7 @@ CREATE TABLE calendar_attendee (
|
|||||||
attendee TEXT,
|
attendee TEXT,
|
||||||
role TEXT,
|
role TEXT,
|
||||||
rsvp BOOLEAN,
|
rsvp BOOLEAN,
|
||||||
full TEXT -- The full text of the property
|
property TEXT -- The full text of the property
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user