projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78faf5b
)
DataObjects/core.sql
author
Alan Knowles
<alan@roojs.com>
Sat, 28 Jan 2012 08:11:55 +0000
(16:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 28 Jan 2012 08:11:55 +0000
(16:11 +0800)
DataObjects/core.sql
patch
|
blob
|
history
diff --git
a/DataObjects/core.sql
b/DataObjects/core.sql
index
ad86026
..
25d31bb
100644
(file)
--- a/
DataObjects/core.sql
+++ b/
DataObjects/core.sql
@@
-299,23
+299,22
@@
alter table core_enum ADD COLUMN seqmax int(11) NOT NULL DEFAULT 0;
alter table core_enum ADD INDEX lookup(seqid, active, name, etype);
alter table core_enum ADD INDEX lookup(seqid, active, name, etype);
-DELIMITER
|
+DELIMITER
$$
CREATE TRIGGER core_enum_insert AFTER INSERT ON core_enum
FOR EACH ROW BEGIN
CALL core_enum_seqmax(NEW.etype);
END;
CREATE TRIGGER core_enum_insert AFTER INSERT ON core_enum
FOR EACH ROW BEGIN
CALL core_enum_seqmax(NEW.etype);
END;
-|
-DELIMITER ;
CREATE TRIGGER core_enum_update AFTER UDPATE ON core_enum
FOR EACH ROW BEGIN
CALL core_enum_seqmax(NEW.etype);
END;
CREATE TRIGGER core_enum_update AFTER UDPATE ON core_enum
FOR EACH ROW BEGIN
CALL core_enum_seqmax(NEW.etype);
END;
-|
+$$
DELIMITER ;
DELIMITER ;
+
CREATE TABLE translations (
id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id)
CREATE TABLE translations (
id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id)