Kill the schedule-in/out box on upgrade so they are recreated.

This commit is contained in:
Andrew McMillan 2009-12-21 22:32:27 +13:00
parent 4695353b1a
commit 081a47f7ee

View File

@ -563,6 +563,8 @@ INSERT INTO grants ( by_principal, to_principal, privileges, is_group )
JOIN principal pto ON(pto.user_no=f.user_no)
WHERE rt_id < 4 AND pby.type_id < 3;
-- It's always safe to kill these collections, so they will be recreated with the correct resourcetype
DELETE FROM collection WHERE dav_name ~ E'/\.(in|out)/$';
SELECT new_db_revision(1,2,6, 'Juin' );