1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Need bigger field for comment sources

This commit is contained in:
e107steved 2009-12-10 21:26:53 +00:00
parent 941fe39491
commit 52d9d13d3f
2 changed files with 8 additions and 10 deletions

View File

@ -9,8 +9,8 @@
* Core SQL
*
* $Source: /cvs_backup/e107_0.8/e107_admin/sql/core_sql.php,v $
* $Revision: 1.43 $
* $Date: 2009-11-27 21:42:46 $
* $Revision: 1.44 $
* $Date: 2009-12-10 21:26:53 $
* $Author: e107steved $
*/
@ -103,7 +103,7 @@ CREATE TABLE comments (
comment_comment text NOT NULL,
comment_blocked tinyint(3) unsigned NOT NULL default '0',
comment_ip varchar(45) NOT NULL default '',
comment_type varchar(10) NOT NULL default '0',
comment_type varchar(20) NOT NULL default '0',
comment_lock tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (comment_id)
) TYPE=MyISAM;

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
| $Revision: 1.67 $
| $Date: 2009-12-04 11:42:04 $
| $Author: e107coders $
| $Revision: 1.68 $
| $Date: 2009-12-10 21:26:53 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -266,7 +266,7 @@ function update_706_to_800($type='')
// List of changed DB tables (defined in core_sql.php)
// (primarily those which have changed significantly; for the odd field write some explicit code - it'll run faster)
$changed_tables = array('user', 'dblog','admin_log', 'userclass_classes', 'banlist', 'menus',
'plugin', 'news', 'news_category','online', 'page', 'links');
'plugin', 'news', 'news_category','online', 'page', 'links', 'comments');
// List of changed DB tables from core plugins (defined in pluginname_sql.php file)
@ -314,9 +314,7 @@ function update_706_to_800($type='')
// List of DB tables (key) and field (value) which need changing to accommodate IPV6 addresses
$ip_upgrade = array('comments' => 'comment_ip',
'download_requests' => 'download_request_ip',
'online' => 'online_ip',
$ip_upgrade = array('download_requests' => 'download_request_ip',
'submitnews' => 'submitnews_ip',
'tmp' => 'tmp_ip',
'chatbox' => 'cb_ip'