projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7e5b01
)
DataObjects/core.sql
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Mar 2011 06:17:47 +0000
(14:17 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Mar 2011 06:17:47 +0000
(14:17 +0800)
DataObjects/core.sql
patch
|
blob
|
history
diff --git
a/DataObjects/core.sql
b/DataObjects/core.sql
index
a7fd793
..
0725f93
100644
(file)
--- a/
DataObjects/core.sql
+++ b/
DataObjects/core.sql
@@
-312,19
+312,20
@@
CREATE TABLE `core_watch` (
) ;
ALTER TABLE core_watch ADD INDEX qlookup (`ontable`,`onid`,`user_id`,`event`,`medium`);
) ;
ALTER TABLE core_watch ADD INDEX qlookup (`ontable`,`onid`,`user_id`,`event`,`medium`);
-CREATE TABLE
core_notify
(
+CREATE TABLE
core_notify
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`id` int(11) NOT NULL AUTO_INCREMENT,
- `act_when` datetime NOT NULL,
- `onid` int(11) NOT NULL,
- `ontable` int(11) NOT NULL,
- `person_id` int(11) NOT NULL,
- `msgid` varchar(128) NOT NULL,
+ `act_when` DATETIME NOT NULL,
+ `onid` int(11) NOT NULL DEFAULT 0,
+ `ontable` varchar(128) NOT NULL DEFAULT '',
+ `person_id` int(11) NOT NULL DEFAULT 0,
+ `msgid` varchar(128) NOT NULL DEFAULT '',
+ `sent` DATETIME NOT NULL,
+ `bounced` int(4) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
INDEX `lookup`(`act_when`, `msgid`)
);
PRIMARY KEY (`id`),
INDEX `lookup`(`act_when`, `msgid`)
);
-
# - used by email / tracker to handle alises - we have to be carefull adding to this table...
# - used by email / tracker to handle alises - we have to be carefull adding to this table...