[CalendarServer-changes] [6990] CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/ sql_schema_v1.sql

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 16 06:37:09 PST 2011


Revision: 6990
          http://trac.macosforge.org/projects/calendarserver/changeset/6990
Author:   glyph at apple.com
Date:     2011-02-16 06:37:08 -0800 (Wed, 16 Feb 2011)
Log Message:
-----------
default value of revision to revision_seq

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql_schema_v1.sql

Modified: CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql_schema_v1.sql
===================================================================
--- CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql_schema_v1.sql	2011-02-16 14:36:56 UTC (rev 6989)
+++ CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql_schema_v1.sql	2011-02-16 14:37:08 UTC (rev 6990)
@@ -416,7 +416,7 @@
   CALENDAR_RESOURCE_ID      integer      references CALENDAR,
   CALENDAR_NAME             varchar(255) default null,
   RESOURCE_NAME             varchar(255),
-  REVISION                  integer      not null,
+  REVISION                  integer      not null default nextval('REVISION_SEQ'),
   DELETED                   boolean      not null,
 
   unique(CALENDAR_RESOURCE_ID, RESOURCE_NAME)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110216/42e07193/attachment.html>


More information about the calendarserver-changes mailing list