From 65c7b895d5d08036c085ed9790716023bca91ce1 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Thu, 17 Nov 2005 22:07:04 +0000 Subject: [PATCH] Notifications system for dashboard items. --- sql/mysql/upgrade/2.99.3/notifications.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) create mode 100644 sql/mysql/upgrade/2.99.3/notifications.sql diff --git a/sql/mysql/upgrade/2.99.3/notifications.sql b/sql/mysql/upgrade/2.99.3/notifications.sql new file mode 100644 index 0000000..e010430 --- /dev/null +++ b/sql/mysql/upgrade/2.99.3/notifications.sql @@ -0,0 +1,18 @@ +CREATE TABLE notifications ( + id int(11) NOT NULL default '0', + user_id int(11) NOT NULL default '0', + label varchar(255) NOT NULL default "", + type varchar(255) NOT NULL default "", + creation_date DATETIME NOT NULL, + data_int_1 int(11) NOT NULL default '0', + data_int_2 int(11) NOT NULL default '0', + data_str_1 VARCHAR(255) NOT NULL default "", + data_str_2 VARCHAR(255) NOT NULL default "", + UNIQUE KEY id (id), + INDEX (type), + INDEX (user_id) +) TYPE=InnoDB; +CREATE TABLE zseq_notifications ( + id int(10) unsigned NOT NULL auto_increment, + PRIMARY KEY (id) +) TYPE=MyISAM; -- libgit2 0.21.4