1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Allow signed integer user class fields

This commit is contained in:
e107steved
2010-01-05 21:05:29 +00:00
parent bee4d07b82
commit 89b869cae5
4 changed files with 12 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ CREATE TABLE event (
event_cat_id smallint(5) unsigned NOT NULL auto_increment,
event_cat_name varchar(100) NOT NULL default '',
event_cat_icon varchar(100) NOT NULL default '',
event_cat_class int(10) unsigned NOT NULL default '0',
event_cat_class int(10) NOT NULL default '0',
event_cat_subs tinyint(3) unsigned NOT NULL default '0',
event_cat_ahead tinyint(3) unsigned NOT NULL default '0',
event_cat_msg1 text,
@@ -30,9 +30,9 @@ CREATE TABLE event (
event_cat_last int(10) unsigned NOT NULL default '0',
event_cat_today int(10) unsigned NOT NULL default '0',
event_cat_lastupdate int(10) unsigned NOT NULL default '0',
event_cat_addclass int(10) unsigned NOT NULL default '0',
event_cat_addclass int(10) NOT NULL default '0',
event_cat_description text,
event_cat_force_class int(10) unsigned NOT NULL default '0',
event_cat_force_class int(10) NOT NULL default '0',
PRIMARY KEY (event_cat_id)
) TYPE=MyISAM;,
CREATE TABLE event_subs (

View File

@@ -4,7 +4,7 @@ CREATE TABLE featurebox (
`fb_title` varchar(200) NOT NULL DEFAULT '',
`fb_text` text NOT NULL,
`fb_mode` tinyint(3) unsigned NOT NULL DEFAULT '0',
`fb_class` smallint(5) unsigned NOT NULL DEFAULT '0',
`fb_class` smallint(5) NOT NULL DEFAULT '0',
`fb_rendertype` tinyint(1) unsigned NOT NULL DEFAULT '0',
`fb_template` varchar(50) NOT NULL DEFAULT '',
`fb_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
@@ -21,7 +21,7 @@ CREATE TABLE featurebox_category (
`fb_category_icon` varchar(255) NOT NULL DEFAULT '',
`fb_category_template` varchar(50) NOT NULL DEFAULT 'default',
`fb_category_random` tinyint(1) unsigned NOT NULL DEFAULT '0',
`fb_category_class` smallint(5) unsigned NOT NULL DEFAULT '0',
`fb_category_class` smallint(5) NOT NULL DEFAULT '0',
`fb_category_limit` tinyint(3) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`fb_category_id`),
UNIQUE KEY `fb_category_template` (`fb_category_template`)

View File

@@ -11,10 +11,10 @@ CREATE TABLE forum (
`forum_lastpost_user` int(10) unsigned default NULL,
`forum_lastpost_user_anon` varchar(30) default NULL,
`forum_lastpost_info` varchar(40) default NULL,
`forum_class` smallint(5) unsigned NOT NULL default '0',
`forum_class` smallint(5) NOT NULL default '0',
`forum_order` int(10) unsigned NOT NULL default '0',
`forum_postclass` smallint(5) unsigned NOT NULL default '0',
`forum_threadclass` smallint(5) unsigned NOT NULL default '0',
`forum_postclass` smallint(5) NOT NULL default '0',
`forum_threadclass` smallint(5) NOT NULL default '0',
`forum_options` text,
PRIMARY KEY (`forum_id`),
KEY `forum_parent` (`forum_parent`),

View File

@@ -9,9 +9,9 @@
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links_page_sql.php,v $
* $Revision: 1.4 $
* $Date: 2009-11-18 01:05:46 $
* $Author: e107coders $
* $Revision: 1.5 $
* $Date: 2010-01-05 21:05:29 $
* $Author: e107steved $
*/
header("location:../index.php");
@@ -43,7 +43,7 @@ CREATE TABLE links_page (
link_order int(10) unsigned NOT NULL default '0',
link_refer int(10) unsigned NOT NULL default '0',
link_open tinyint(1) unsigned NOT NULL default '0',
link_class smallint(5) unsigned NOT NULL default '0',
link_class smallint(5) NOT NULL default '0',
link_datestamp int(10) unsigned NOT NULL default '0',
link_author varchar(255) NOT NULL default '',
PRIMARY KEY (link_id)