|
From: Florin C B. <ory...@us...> - 2013-04-04 12:24:29
|
Update of /cvsroot/mxbb/mx_kb In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9081 Modified Files: db_install.php db_upgrade.php Log Message: longtext for news Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_install.php,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** db_install.php 5 Jul 2008 22:12:15 -0000 1.57 --- db_install.php 4 Apr 2013 12:24:26 -0000 1.58 *************** *** 120,124 **** approved tinyint(1) unsigned NOT NULL default '0', ! article_body text NOT NULL, bbcode_uid varchar(10) binary NOT NULL default '', article_type mediumint(8) unsigned NOT NULL default '0', --- 120,124 ---- approved tinyint(1) unsigned NOT NULL default '0', ! article_body longtext NOT NULL, bbcode_uid varchar(10) binary NOT NULL default '', article_type mediumint(8) unsigned NOT NULL default '0', Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_upgrade.php,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** db_upgrade.php 5 Jul 2008 22:12:16 -0000 1.48 --- db_upgrade.php 4 Apr 2013 12:24:26 -0000 1.49 *************** *** 247,250 **** --- 247,251 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "kb_config VALUES ('allow_smilies', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "kb_config VALUES ('allowed_html_tags', 'b,i,u,a')"; + $sql[] = "ALTER TABLE " . $mx_table_prefix . "kb_articles CHANGE article_body article_body LONGTEXT DEFAULT NULL"; // -------------------------------------------------------- |