mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
[feature/new-tz-handling] Modify database schemas.
- Dropped the user_dst column which is no longer required. - Modified the user_timezone column to take a string, max length 100. PHPBB3-9558
This commit is contained in:
parent
6e1278655f
commit
af789040b8
@ -1823,8 +1823,7 @@ function get_schema_struct()
|
||||
'user_inactive_time' => array('TIMESTAMP', 0),
|
||||
'user_posts' => array('UINT', 0),
|
||||
'user_lang' => array('VCHAR:30', ''),
|
||||
'user_timezone' => array('DECIMAL', 0),
|
||||
'user_dst' => array('BOOL', 0),
|
||||
'user_timezone' => array('VCHAR:100', 'UTC'),
|
||||
'user_dateformat' => array('VCHAR_UNI:30', 'd M Y H:i'),
|
||||
'user_style' => array('UINT', 0),
|
||||
'user_rank' => array('UINT', 0),
|
||||
|
@ -1290,8 +1290,7 @@ CREATE TABLE phpbb_users (
|
||||
user_inactive_time INTEGER DEFAULT 0 NOT NULL,
|
||||
user_posts INTEGER DEFAULT 0 NOT NULL,
|
||||
user_lang VARCHAR(30) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||
user_timezone DOUBLE PRECISION DEFAULT 0 NOT NULL,
|
||||
user_dst INTEGER DEFAULT 0 NOT NULL,
|
||||
user_timezone VARCHAR(100) CHARACTER SET NONE DEFAULT 'UTC' NOT NULL,
|
||||
user_dateformat VARCHAR(30) CHARACTER SET UTF8 DEFAULT 'd M Y H:i' NOT NULL COLLATE UNICODE,
|
||||
user_style INTEGER DEFAULT 0 NOT NULL,
|
||||
user_rank INTEGER DEFAULT 0 NOT NULL,
|
||||
|
@ -1576,8 +1576,7 @@ CREATE TABLE [phpbb_users] (
|
||||
[user_inactive_time] [int] DEFAULT (0) NOT NULL ,
|
||||
[user_posts] [int] DEFAULT (0) NOT NULL ,
|
||||
[user_lang] [varchar] (30) DEFAULT ('') NOT NULL ,
|
||||
[user_timezone] [float] DEFAULT (0) NOT NULL ,
|
||||
[user_dst] [int] DEFAULT (0) NOT NULL ,
|
||||
[user_timezone] [varchar] (100) DEFAULT ('UTC') NOT NULL ,
|
||||
[user_dateformat] [varchar] (30) DEFAULT ('d M Y H:i') NOT NULL ,
|
||||
[user_style] [int] DEFAULT (0) NOT NULL ,
|
||||
[user_rank] [int] DEFAULT (0) NOT NULL ,
|
||||
|
@ -914,8 +914,7 @@ CREATE TABLE phpbb_users (
|
||||
user_inactive_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_lang varbinary(30) DEFAULT '' NOT NULL,
|
||||
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
|
||||
user_dst tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_timezone varbinary(100) DEFAULT 'UTC' NOT NULL,
|
||||
user_dateformat varbinary(90) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_rank mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
|
@ -914,8 +914,7 @@ CREATE TABLE phpbb_users (
|
||||
user_inactive_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_lang varchar(30) DEFAULT '' NOT NULL,
|
||||
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
|
||||
user_dst tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_timezone varchar(100) DEFAULT 'UTC' NOT NULL,
|
||||
user_dateformat varchar(30) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_rank mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
|
@ -1702,8 +1702,7 @@ CREATE TABLE phpbb_users (
|
||||
user_inactive_time number(11) DEFAULT '0' NOT NULL,
|
||||
user_posts number(8) DEFAULT '0' NOT NULL,
|
||||
user_lang varchar2(30) DEFAULT '' ,
|
||||
user_timezone number(5, 2) DEFAULT '0' NOT NULL,
|
||||
user_dst number(1) DEFAULT '0' NOT NULL,
|
||||
user_timezone varchar2(100) DEFAULT 'UTC' NOT NULL,
|
||||
user_dateformat varchar2(90) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style number(8) DEFAULT '0' NOT NULL,
|
||||
user_rank number(8) DEFAULT '0' NOT NULL,
|
||||
|
@ -1172,8 +1172,7 @@ CREATE TABLE phpbb_users (
|
||||
user_inactive_time INT4 DEFAULT '0' NOT NULL CHECK (user_inactive_time >= 0),
|
||||
user_posts INT4 DEFAULT '0' NOT NULL CHECK (user_posts >= 0),
|
||||
user_lang varchar(30) DEFAULT '' NOT NULL,
|
||||
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
|
||||
user_dst INT2 DEFAULT '0' NOT NULL CHECK (user_dst >= 0),
|
||||
user_timezone varchar(100) DEFAULT 'UTC' NOT NULL,
|
||||
user_dateformat varchar(30) DEFAULT 'd M Y H:i' NOT NULL,
|
||||
user_style INT4 DEFAULT '0' NOT NULL CHECK (user_style >= 0),
|
||||
user_rank INT4 DEFAULT '0' NOT NULL CHECK (user_rank >= 0),
|
||||
|
@ -886,8 +886,7 @@ CREATE TABLE phpbb_users (
|
||||
user_inactive_time INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
user_posts INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
user_lang varchar(30) NOT NULL DEFAULT '',
|
||||
user_timezone decimal(5,2) NOT NULL DEFAULT '0',
|
||||
user_dst INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
user_timezone varchar(100) NOT NULL DEFAULT 'UTC',
|
||||
user_dateformat varchar(30) NOT NULL DEFAULT 'd M Y H:i',
|
||||
user_style INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
user_rank INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
|
Loading…
x
Reference in New Issue
Block a user