Commit 2e770d77 authored by Ivan Tyagov's avatar Ivan Tyagov

Use MEDIUMTEXT rather than Text types to allow bigger SearchableText storage.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42978 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee69f88e
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
#\n #\n
CREATE TABLE `full_text` (\n CREATE TABLE `full_text` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`SearchableText` text,\n `SearchableText` MEDIUMTEXT,\n
PRIMARY KEY (`uid`),\n PRIMARY KEY (`uid`),\n
FULLTEXT `SearchableText` (`SearchableText`)\n FULLTEXT `SearchableText` (`SearchableText`)\n
) ENGINE=MyISAM;\n ) ENGINE=MyISAM;\n
......
3 4
\ No newline at end of file \ No newline at end of file
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
#\n #\n
CREATE TABLE `full_text` (\n CREATE TABLE `full_text` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`SearchableText` text,\n `SearchableText` MEDIUMTEXT,\n
PRIMARY KEY (`uid`)\n PRIMARY KEY (`uid`)\n
) ENGINE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
......
20 21
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment