projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
27ce195
)
DataObjects/core.sql
author
Alan Knowles
<alan@akbkhome.com>
Sun, 6 Mar 2011 02:13:42 +0000
(10:13 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 6 Mar 2011 02:13:42 +0000
(10:13 +0800)
DataObjects/core.sql
patch
|
blob
|
history
diff --git
a/DataObjects/core.sql
b/DataObjects/core.sql
index
5602267
..
17696b1
100644
(file)
--- a/
DataObjects/core.sql
+++ b/
DataObjects/core.sql
@@
-258,6
+258,19
@@
CREATE TABLE core_locking (
alter table core_locking ADD INDEX `lookup`(`on_table`, `on_id`, `person_id`, `created`);
alter table core_locking ADD INDEX `lookup`(`on_table`, `on_id`, `person_id`, `created`);
+# -- a generic enumeraction
+CREATE TABLE `core_enum` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `etype` varchar(32) NOT NULL,
+ `name` varchar(255) NOT NULL,
+ `active` int(2) NOT NULL DEFAULT 1,
+ `seqid` int(11) NOT NULL DEFAULT 0,
+ PRIMARY KEY (`id`),
+ INDEX `lookup`(`seqid`, `active`, `name`, `etype`)
+)
+ENGINE = MyISAM;
+
+
CREATE TABLE `translations` (
CREATE TABLE `translations` (