[CalendarServer-changes] [12386] CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:23:13 PDT 2014
Revision: 12386
http://trac.calendarserver.org//changeset/12386
Author: gaya at apple.com
Date: 2014-01-17 14:06:35 -0800 (Fri, 17 Jan 2014)
Log Message:
-----------
add "insert into CALENDARSERVER values ('MIN-VALID-REVISION', '1');"
Modified Paths:
--------------
CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_32_to_33.sql
CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/postgres-dialect/upgrade_from_32_to_33.sql
Modified: CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_32_to_33.sql
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_32_to_33.sql 2014-01-17 21:51:12 UTC (rev 12385)
+++ CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_32_to_33.sql 2014-01-17 22:06:35 UTC (rev 12386)
@@ -40,6 +40,11 @@
"NOT_BEFORE" timestamp default CURRENT_TIMESTAMP at time zone 'UTC'
);
+-- add min revision
+
+insert into CALENDARSERVER values ('MIN-VALID-REVISION', '1');
+
+
-- Update version --
update CALENDARSERVER set VALUE = '31' where NAME = 'VERSION';
Modified: CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/postgres-dialect/upgrade_from_32_to_33.sql
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/postgres-dialect/upgrade_from_32_to_33.sql 2014-01-17 21:51:12 UTC (rev 12385)
+++ CalendarServer/trunk/txdav/common/datastore/sql_schema/upgrades/postgres-dialect/upgrade_from_32_to_33.sql 2014-01-17 22:06:35 UTC (rev 12386)
@@ -39,6 +39,11 @@
WORK_ID integer primary key default nextval('WORKITEM_SEQ') not null,
NOT_BEFORE timestamp default timezone('UTC', CURRENT_TIMESTAMP)
);
+
+-- add min revision
+
+insert into CALENDARSERVER values ('MIN-VALID-REVISION', '1');
+
-- Update version --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/dab1834d/attachment.html>
More information about the calendarserver-changes
mailing list