mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Database changes for next release (unfinished).
This commit is contained in:
parent
fced59b0df
commit
5f8a8ca4bc
@ -71,6 +71,7 @@ CREATE TABLE calendar_item (
|
||||
percent_complete NUMERIC(7,2),
|
||||
tz_id TEXT REFERENCES time_zone( tz_id ),
|
||||
status TEXT,
|
||||
completed TIMESTAMP WITH TIME ZONE,
|
||||
dav_id INT8 UNIQUE,
|
||||
collection_id INT8 REFERENCES collection(collection_id) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE,
|
||||
|
||||
|
||||
16
dba/patches/1.2.4.sql
Normal file
16
dba/patches/1.2.4.sql
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
-- This database update provides new tables for the Principal, for
|
||||
-- a consistent dav_resource which a principal, collection or calendar_item
|
||||
-- all inherit from.
|
||||
|
||||
BEGIN;
|
||||
SELECT check_db_revision(1,2,3);
|
||||
|
||||
-- Add a column to hold the 'COMPLETED' property from the caldav_data
|
||||
ALTER TABLE calendar_item ADD COLUMN completed TIMESTAMP WITH TIME ZONE;
|
||||
|
||||
SELECT new_db_revision(1,2,4, 'Avril' );
|
||||
|
||||
COMMIT;
|
||||
ROLLBACK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user