From fd3d125d20cf4c677ccec62d89271d84040c4c1f Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 30 Dec 2011 16:59:13 +0000 Subject: [PATCH] Fix for bug #1339 Monotone-Parent: 5e690b49423932996ff78f8ea2c1881306f09fa3 Monotone-Revision: 2c40f25dddacc34d66befa0a7c8e6c93868a9a92 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-12-30T16:59:13 --- NEWS | 2 ++ OGoContentStore/appointment.ocs | 2 +- OGoContentStore/contact.ocs | 2 +- SOPE/GDLContentStore/GCSSpecialQueries.m | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 9804468fd..b0833c490 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,8 @@ Enhancements Bug Fixes - alarms for tasks now depend on the start date and instead of the due date + - increased the content column size in database tables to permit syncs of + cards with big photos in them 1.3-20111212 (1.3.11) --------------------- diff --git a/OGoContentStore/appointment.ocs b/OGoContentStore/appointment.ocs index 11384e48d..ee400953d 100644 --- a/OGoContentStore/appointment.ocs +++ b/OGoContentStore/appointment.ocs @@ -12,7 +12,7 @@ }, { columnName = c_content; - sqlType = "VARCHAR(100000)"; + sqlType = "TEXT"; allowsNull = NO; isPrimaryKey = NO; }, diff --git a/OGoContentStore/contact.ocs b/OGoContentStore/contact.ocs index bac6f6147..c2f17528c 100644 --- a/OGoContentStore/contact.ocs +++ b/OGoContentStore/contact.ocs @@ -12,7 +12,7 @@ }, { columnName = c_content; - sqlType = "VARCHAR(100000)"; + sqlType = "TEXT"; allowsNull = NO; isPrimaryKey = NO; }, diff --git a/SOPE/GDLContentStore/GCSSpecialQueries.m b/SOPE/GDLContentStore/GCSSpecialQueries.m index 9bb476547..13e2634e9 100644 --- a/SOPE/GDLContentStore/GCSSpecialQueries.m +++ b/SOPE/GDLContentStore/GCSSpecialQueries.m @@ -164,7 +164,7 @@ static NSString *sqlFolderFormat = (@"CREATE TABLE %@ (\n" @" c_name VARCHAR (255) NOT NULL PRIMARY KEY,\n" - @" c_content VARCHAR (100000) NOT NULL,\n" + @" c_content TEXT NOT NULL,\n" @" c_creationdate INT4 NOT NULL,\n" @" c_lastmodified INT4 NOT NULL,\n" @" c_version INT4 NOT NULL,\n" @@ -258,7 +258,7 @@ static NSString *sqlFolderFormat = (@"CREATE TABLE %@ (\n" @" c_name VARCHAR (255) NOT NULL PRIMARY KEY,\n" - @" c_content VARCHAR (100000) NOT NULL,\n" + @" c_content TEXT NOT NULL,\n" @" c_creationdate INT NOT NULL,\n" @" c_lastmodified INT NOT NULL,\n" @" c_version INT NOT NULL,\n"