aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/schemas/mysql_41_schema.sql
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-20 20:54:18 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-20 20:58:53 -0500
commit94d682f77431add84867bb0b196ad0719b293606 (patch)
tree1a589cd8c2bd9ac054ea0394eaa8b240cfe7c030 /phpBB/install/schemas/mysql_41_schema.sql
parent6861af22eecfa4a254eb62245ee109d8e5635f93 (diff)
downloadforums-94d682f77431add84867bb0b196ad0719b293606.tar
forums-94d682f77431add84867bb0b196ad0719b293606.tar.gz
forums-94d682f77431add84867bb0b196ad0719b293606.tar.bz2
forums-94d682f77431add84867bb0b196ad0719b293606.tar.xz
forums-94d682f77431add84867bb0b196ad0719b293606.zip
[ticket/11103] Use the full class name as the item_type/method
This is going to require you recreate the db tables. PHPBB3-11103
Diffstat (limited to 'phpBB/install/schemas/mysql_41_schema.sql')
-rw-r--r--phpBB/install/schemas/mysql_41_schema.sql10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/install/schemas/mysql_41_schema.sql b/phpBB/install/schemas/mysql_41_schema.sql
index 8700b46c91..a73fda41f5 100644
--- a/phpBB/install/schemas/mysql_41_schema.sql
+++ b/phpBB/install/schemas/mysql_41_schema.sql
@@ -433,12 +433,12 @@ CREATE TABLE phpbb_modules (
# Table: 'phpbb_notifications'
CREATE TABLE phpbb_notifications (
notification_id mediumint(8) UNSIGNED NOT NULL auto_increment,
- item_type varchar(25) DEFAULT '' NOT NULL,
+ item_type varchar(255) DEFAULT '' NOT NULL,
item_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
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,
- is_disabled tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
+ is_enabled tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
time int(11) UNSIGNED DEFAULT '1' NOT NULL,
data text NOT NULL,
PRIMARY KEY (notification_id),
@@ -448,7 +448,7 @@ CREATE TABLE phpbb_notifications (
KEY user_id (user_id),
KEY time (time),
KEY unread (unread),
- KEY is_disabled (is_disabled)
+ KEY is_enabled (is_enabled)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
@@ -873,10 +873,10 @@ CREATE TABLE phpbb_topics_watch (
# Table: 'phpbb_user_notifications'
CREATE TABLE phpbb_user_notifications (
- item_type varchar(25) DEFAULT '' NOT NULL,
+ item_type varchar(255) DEFAULT '' NOT NULL,
item_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
- method varchar(25) DEFAULT '' NOT NULL,
+ method varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (item_type, item_id, user_id, method),
KEY it (item_type),
KEY uid (user_id)