projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba63777
)
DataObjects/core.sql
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 10:14:17 +0000
(18:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 10:14:17 +0000
(18:14 +0800)
DataObjects/core.sql
patch
|
blob
|
history
diff --git
a/DataObjects/core.sql
b/DataObjects/core.sql
index
baac374
..
0c6a1b2
100644
(file)
--- a/
DataObjects/core.sql
+++ b/
DataObjects/core.sql
@@
-260,4
+260,12
@@
DELIMITER ;
-
\ No newline at end of file
+ CREATE TABLE core_locking (
+ `int` int(11) NOT NULL AUTO_INCREMENT,
+ `on_table` varchar(64) NOT NULL,
+ `on_id` int(11) NOT NULL,
+ `person_id` int(11) NOT NULL,
+ `created` datetime NOT NULL,
+ PRIMARY KEY (`int`),
+ INDEX `lookup`(`on_table`, `on_id`, `person_id`, `created`)
+)
\ No newline at end of file