mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 06:33:18 +00:00
Add a script to update the c_content column in existing postgresql tables
Update the table creation statements for mysql to use 'mediumtext' instead of 'text' for the c_content column. The latter is only 64k chars long, which is not enough. Monotone-Parent: f66b516a4e4c827bd8733fd6903ca41528172989 Monotone-Revision: 36b1155b71ef197756bd93ba282a5a89126511e7 Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-01-03T20:42:34
This commit is contained in:
@@ -258,7 +258,7 @@
|
||||
static NSString *sqlFolderFormat
|
||||
= (@"CREATE TABLE %@ (\n"
|
||||
@" c_name VARCHAR (255) NOT NULL PRIMARY KEY,\n"
|
||||
@" c_content TEXT NOT NULL,\n"
|
||||
@" c_content MEDIUMTEXT NOT NULL,\n"
|
||||
@" c_creationdate INT NOT NULL,\n"
|
||||
@" c_lastmodified INT NOT NULL,\n"
|
||||
@" c_version INT NOT NULL,\n"
|
||||
|
||||
Reference in New Issue
Block a user