[CalendarServer-changes] [13734] CalendarServer/branches/users/gaya/groupsharee2/txdav/common/ datastore/sql_schema

source_changes at macosforge.org source_changes at macosforge.org
Tue Jul 8 10:58:03 PDT 2014


Revision: 13734
          http://trac.calendarserver.org//changeset/13734
Author:   gaya at apple.com
Date:     2014-07-08 10:58:03 -0700 (Tue, 08 Jul 2014)
Log Message:
-----------
fix schema version

Modified Paths:
--------------
    CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/current.sql
    CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_45_to_46.sql

Modified: CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/current.sql
===================================================================
--- CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/current.sql	2014-07-08 09:09:07 UTC (rev 13733)
+++ CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/current.sql	2014-07-08 17:58:03 UTC (rev 13734)
@@ -801,11 +801,11 @@
   primary key (GROUP_ID, RESOURCE_ID)
 );
 
-create index GROUP_ATTENDEE_ID on  -- FIXME: Rename to GROUP_ATTENDEE_RESOURCE_ID
+create index GROUP_ATTENDEE_RESOURCE_ID on
   GROUP_ATTENDEE(RESOURCE_ID);
 
   
-  create table GROUP_SHAREE_RECONCILE_WORK (
+create table GROUP_SHAREE_RECONCILE_WORK (
   WORK_ID                       integer primary key default nextval('WORKITEM_SEQ') not null, -- implicit index
   JOB_ID                        integer not null references JOB,
   CALENDAR_ID                   integer	not null references CALENDAR on delete cascade,
@@ -1118,7 +1118,7 @@
   VALUE                         varchar(255)
 );
 
-insert into CALENDARSERVER values ('VERSION', '45');
+insert into CALENDARSERVER values ('VERSION', '46');
 insert into CALENDARSERVER values ('CALENDAR-DATAVERSION', '6');
 insert into CALENDARSERVER values ('ADDRESSBOOK-DATAVERSION', '2');
 insert into CALENDARSERVER values ('NOTIFICATION-DATAVERSION', '1');

Modified: CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_45_to_46.sql
===================================================================
--- CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_45_to_46.sql	2014-07-08 09:09:07 UTC (rev 13733)
+++ CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql_schema/upgrades/oracle-dialect/upgrade_from_45_to_46.sql	2014-07-08 17:58:03 UTC (rev 13734)
@@ -47,4 +47,4 @@
 );
 
 -- update the version
-update CALENDARSERVER set VALUE = '44' where NAME = 'VERSION';
+update CALENDARSERVER set VALUE = '46' where NAME = 'VERSION';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140708/e61b99f2/attachment-0001.html>


More information about the calendarserver-changes mailing list