mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Allow forcing all events in a collection to a specified class.
This commit is contained in:
1 parent
bbcd6a82ac
commit
e0746e058e
2 files changed
+41
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user