Allow forcing all events in a collection to a specified class.

This commit is contained in:
Andrew Ruthven authored and Andrew Ruthven committed 2007-10-26 11:05:32 +13:00
1 parent bbcd6a82ac
commit e0746e058e
2 files changed
+41 -4

No files matched your search

+6 -2
View File
@@ -1,12 +1,16 @@
-- Make sure that class is set to something, by default PUBLIC.
-- According to RFC2445, 4.8.1.3.
-- Sort out accessing calendar entries.
BEGIN;
SELECT check_db_revision(1,1,9);
-- Make sure that class is set to something, by default PUBLIC.
-- According to RFC2445, 4.8.1.3.
UPDATE calendar_item SET class = 'PUBLIC' WHERE class IS NULL;
-- Allow forcing all events in a calendar to a specific class
ALTER TABLE collection ADD COLUMN force_class TEXT;
SELECT new_db_revision(1,1,10, 'October' );
COMMIT;
ROLLBACK;