mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Allow signed integer user class fields
This commit is contained in:
@@ -21,7 +21,7 @@ CREATE TABLE event (
|
|||||||
event_cat_id smallint(5) unsigned NOT NULL auto_increment,
|
event_cat_id smallint(5) unsigned NOT NULL auto_increment,
|
||||||
event_cat_name varchar(100) NOT NULL default '',
|
event_cat_name varchar(100) NOT NULL default '',
|
||||||
event_cat_icon 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_subs tinyint(3) unsigned NOT NULL default '0',
|
||||||
event_cat_ahead tinyint(3) unsigned NOT NULL default '0',
|
event_cat_ahead tinyint(3) unsigned NOT NULL default '0',
|
||||||
event_cat_msg1 text,
|
event_cat_msg1 text,
|
||||||
@@ -30,9 +30,9 @@ CREATE TABLE event (
|
|||||||
event_cat_last int(10) unsigned NOT NULL default '0',
|
event_cat_last int(10) unsigned NOT NULL default '0',
|
||||||
event_cat_today 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_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_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)
|
PRIMARY KEY (event_cat_id)
|
||||||
) TYPE=MyISAM;,
|
) TYPE=MyISAM;,
|
||||||
CREATE TABLE event_subs (
|
CREATE TABLE event_subs (
|
||||||
|
@@ -4,7 +4,7 @@ CREATE TABLE featurebox (
|
|||||||
`fb_title` varchar(200) NOT NULL DEFAULT '',
|
`fb_title` varchar(200) NOT NULL DEFAULT '',
|
||||||
`fb_text` text NOT NULL,
|
`fb_text` text NOT NULL,
|
||||||
`fb_mode` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
`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_rendertype` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||||
`fb_template` varchar(50) NOT NULL DEFAULT '',
|
`fb_template` varchar(50) NOT NULL DEFAULT '',
|
||||||
`fb_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
`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_icon` varchar(255) NOT NULL DEFAULT '',
|
||||||
`fb_category_template` varchar(50) NOT NULL DEFAULT 'default',
|
`fb_category_template` varchar(50) NOT NULL DEFAULT 'default',
|
||||||
`fb_category_random` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
`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',
|
`fb_category_limit` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||||
PRIMARY KEY (`fb_category_id`),
|
PRIMARY KEY (`fb_category_id`),
|
||||||
UNIQUE KEY `fb_category_template` (`fb_category_template`)
|
UNIQUE KEY `fb_category_template` (`fb_category_template`)
|
||||||
|
@@ -11,10 +11,10 @@ CREATE TABLE forum (
|
|||||||
`forum_lastpost_user` int(10) unsigned default NULL,
|
`forum_lastpost_user` int(10) unsigned default NULL,
|
||||||
`forum_lastpost_user_anon` varchar(30) default NULL,
|
`forum_lastpost_user_anon` varchar(30) default NULL,
|
||||||
`forum_lastpost_info` varchar(40) 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_order` int(10) unsigned NOT NULL default '0',
|
||||||
`forum_postclass` smallint(5) unsigned NOT NULL default '0',
|
`forum_postclass` smallint(5) NOT NULL default '0',
|
||||||
`forum_threadclass` smallint(5) unsigned NOT NULL default '0',
|
`forum_threadclass` smallint(5) NOT NULL default '0',
|
||||||
`forum_options` text,
|
`forum_options` text,
|
||||||
PRIMARY KEY (`forum_id`),
|
PRIMARY KEY (`forum_id`),
|
||||||
KEY `forum_parent` (`forum_parent`),
|
KEY `forum_parent` (`forum_parent`),
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links_page_sql.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links_page_sql.php,v $
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
* $Date: 2009-11-18 01:05:46 $
|
* $Date: 2010-01-05 21:05:29 $
|
||||||
* $Author: e107coders $
|
* $Author: e107steved $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
header("location:../index.php");
|
header("location:../index.php");
|
||||||
@@ -43,7 +43,7 @@ CREATE TABLE links_page (
|
|||||||
link_order int(10) unsigned NOT NULL default '0',
|
link_order int(10) unsigned NOT NULL default '0',
|
||||||
link_refer 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_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_datestamp int(10) unsigned NOT NULL default '0',
|
||||||
link_author varchar(255) NOT NULL default '',
|
link_author varchar(255) NOT NULL default '',
|
||||||
PRIMARY KEY (link_id)
|
PRIMARY KEY (link_id)
|
||||||
|
Reference in New Issue
Block a user