mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Need bigger field for comment sources
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Core SQL
|
* Core SQL
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/sql/core_sql.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/sql/core_sql.php,v $
|
||||||
* $Revision: 1.43 $
|
* $Revision: 1.44 $
|
||||||
* $Date: 2009-11-27 21:42:46 $
|
* $Date: 2009-12-10 21:26:53 $
|
||||||
* $Author: e107steved $
|
* $Author: e107steved $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ CREATE TABLE comments (
|
|||||||
comment_comment text NOT NULL,
|
comment_comment text NOT NULL,
|
||||||
comment_blocked tinyint(3) unsigned NOT NULL default '0',
|
comment_blocked tinyint(3) unsigned NOT NULL default '0',
|
||||||
comment_ip varchar(45) NOT NULL default '',
|
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',
|
comment_lock tinyint(1) unsigned NOT NULL default '0',
|
||||||
PRIMARY KEY (comment_id)
|
PRIMARY KEY (comment_id)
|
||||||
) TYPE=MyISAM;
|
) TYPE=MyISAM;
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
|
||||||
| $Revision: 1.67 $
|
| $Revision: 1.68 $
|
||||||
| $Date: 2009-12-04 11:42:04 $
|
| $Date: 2009-12-10 21:26:53 $
|
||||||
| $Author: e107coders $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -266,7 +266,7 @@ function update_706_to_800($type='')
|
|||||||
// List of changed DB tables (defined in core_sql.php)
|
// 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)
|
// (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',
|
$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)
|
// 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
|
// List of DB tables (key) and field (value) which need changing to accommodate IPV6 addresses
|
||||||
$ip_upgrade = array('comments' => 'comment_ip',
|
$ip_upgrade = array('download_requests' => 'download_request_ip',
|
||||||
'download_requests' => 'download_request_ip',
|
|
||||||
'online' => 'online_ip',
|
|
||||||
'submitnews' => 'submitnews_ip',
|
'submitnews' => 'submitnews_ip',
|
||||||
'tmp' => 'tmp_ip',
|
'tmp' => 'tmp_ip',
|
||||||
'chatbox' => 'cb_ip'
|
'chatbox' => 'cb_ip'
|
||||||
|
Reference in New Issue
Block a user