Commit 65c7b895d5d08036c085ed9790716023bca91ce1
1 parent
13e56681
Notifications system for dashboard items.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4024 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
18 additions
and
0 deletions
sql/mysql/upgrade/2.99.3/notifications.sql
0 → 100644
| 1 | +CREATE TABLE notifications ( | |
| 2 | + id int(11) NOT NULL default '0', | |
| 3 | + user_id int(11) NOT NULL default '0', | |
| 4 | + label varchar(255) NOT NULL default "", | |
| 5 | + type varchar(255) NOT NULL default "", | |
| 6 | + creation_date DATETIME NOT NULL, | |
| 7 | + data_int_1 int(11) NOT NULL default '0', | |
| 8 | + data_int_2 int(11) NOT NULL default '0', | |
| 9 | + data_str_1 VARCHAR(255) NOT NULL default "", | |
| 10 | + data_str_2 VARCHAR(255) NOT NULL default "", | |
| 11 | + UNIQUE KEY id (id), | |
| 12 | + INDEX (type), | |
| 13 | + INDEX (user_id) | |
| 14 | +) TYPE=InnoDB; | |
| 15 | +CREATE TABLE zseq_notifications ( | |
| 16 | + id int(10) unsigned NOT NULL auto_increment, | |
| 17 | + PRIMARY KEY (id) | |
| 18 | +) TYPE=MyISAM; | ... | ... |