1
0

* Use "Longtext" instead of "text" for new installations on blog entry

body and extended body inside database tables. (garvinhicking)
This commit is contained in:
Garvin Hicking
2010-01-14 09:21:07 +00:00
parent 316e86f3dc
commit 53159f390f
10 changed files with 26 additions and 23 deletions

@ -257,9 +257,9 @@ function &serendipity_db_query($sql, $single = false, $result_type = "both", $re
*/
function serendipity_db_schema_import($query) {
static $search = array('{AUTOINCREMENT}', '{PRIMARY}', '{UNSIGNED}',
'{FULLTEXT}', '{BOOLEAN}', 'int(1)', 'int(10)', 'int(11)', 'int(4)', '{UTF_8}');
'{FULLTEXT}', '{BOOLEAN}', 'int(1)', 'int(10)', 'int(11)', 'int(4)', '{UTF_8}', '{TEXT}');
static $replace = array('SERIAL', 'primary key', '', '', 'BOOLEAN NOT NULL', 'int2',
'int4', 'int4', 'int4', '');
'int4', 'int4', 'int4', '', 'text');
if (stristr($query, '{FULLTEXT_MYSQL}')) {
return true;