mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11103] time -> notification_time
PHPBB3-11103
This commit is contained in:
@@ -1192,15 +1192,15 @@ function database_update_info()
|
||||
),
|
||||
NOTIFICATIONS_TABLE => array(
|
||||
'COLUMNS' => array(
|
||||
'notification_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'item_type' => array('VCHAR:255', ''),
|
||||
'item_id' => array('UINT', 0),
|
||||
'item_parent_id' => array('UINT', 0),
|
||||
'user_id' => array('UINT', 0),
|
||||
'unread' => array('BOOL', 1),
|
||||
'is_enabled' => array('BOOL', 1),
|
||||
'time' => array('TIMESTAMP', 1),
|
||||
'data' => array('TEXT_UNI', ''),
|
||||
'notification_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'item_type' => array('VCHAR:255', ''),
|
||||
'item_id' => array('UINT', 0),
|
||||
'item_parent_id' => array('UINT', 0),
|
||||
'user_id' => array('UINT', 0),
|
||||
'unread' => array('BOOL', 1),
|
||||
'is_enabled' => array('BOOL', 1),
|
||||
'notification_time' => array('TIMESTAMP', 1),
|
||||
'data' => array('TEXT_UNI', ''),
|
||||
),
|
||||
'PRIMARY_KEY' => 'notification_id',
|
||||
'KEYS' => array(
|
||||
|
@@ -635,7 +635,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id INTEGER DEFAULT 0 NOT NULL,
|
||||
user_id INTEGER DEFAULT 0 NOT NULL,
|
||||
unread INTEGER DEFAULT 1 NOT NULL,
|
||||
time INTEGER DEFAULT 1 NOT NULL,
|
||||
notification_time INTEGER DEFAULT 1 NOT NULL,
|
||||
data BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL
|
||||
);;
|
||||
|
||||
|
@@ -779,7 +779,7 @@ CREATE TABLE [phpbb_notifications] (
|
||||
[item_parent_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[user_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[unread] [int] DEFAULT (1) NOT NULL ,
|
||||
[time] [int] DEFAULT (1) NOT NULL ,
|
||||
[notification_time] [int] DEFAULT (1) NOT NULL ,
|
||||
[data] [varchar] (4000) DEFAULT ('') NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
@@ -446,7 +446,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
unread tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
time int(11) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
notification_time int(11) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
data blob NOT NULL,
|
||||
PRIMARY KEY (notification_id),
|
||||
KEY item_ident (item_type, item_id),
|
||||
|
@@ -446,7 +446,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
unread tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
time int(11) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
notification_time int(11) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
data text NOT NULL,
|
||||
PRIMARY KEY (notification_id),
|
||||
KEY item_ident (item_type, item_id),
|
||||
|
@@ -861,7 +861,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id number(8) DEFAULT '0' NOT NULL,
|
||||
user_id number(8) DEFAULT '0' NOT NULL,
|
||||
unread number(1) DEFAULT '1' NOT NULL,
|
||||
time number(11) DEFAULT '1' NOT NULL,
|
||||
notification_time number(11) DEFAULT '1' NOT NULL,
|
||||
data clob DEFAULT '' ,
|
||||
CONSTRAINT pk_phpbb_notifications PRIMARY KEY (notification_id)
|
||||
)
|
||||
|
@@ -618,7 +618,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id INT4 DEFAULT '0' NOT NULL CHECK (item_parent_id >= 0),
|
||||
user_id INT4 DEFAULT '0' NOT NULL CHECK (user_id >= 0),
|
||||
unread INT2 DEFAULT '1' NOT NULL CHECK (unread >= 0),
|
||||
time INT4 DEFAULT '1' NOT NULL CHECK (time >= 0),
|
||||
notification_time INT4 DEFAULT '1' NOT NULL CHECK (notification_time >= 0),
|
||||
data varchar(4000) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (notification_id)
|
||||
);
|
||||
|
@@ -433,7 +433,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
user_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
unread INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
||||
time INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
||||
notification_time INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
||||
data text(65535) NOT NULL DEFAULT ''
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user