DataObjects/core.sql
authorAlan Knowles <alan@roojs.com>
Wed, 14 Mar 2012 02:05:44 +0000 (10:05 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Mar 2012 02:05:44 +0000 (10:05 +0800)
DataObjects/core.sql

index 19ae96b..b9292ce 100644 (file)
@@ -282,7 +282,8 @@ ALTER TABLE  core_locking ADD COLUMN  person_id int(11)  NOT NULL DEFAULT 0;
 ALTER TABLE  core_locking ADD COLUMN  created datetime ;
 
 alter table  core_locking ADD  INDEX lookup(on_table, on_id, person_id, created);
+ alter table core_locking change column `int` id int(11) auto_increment not null;
+
 # -- a generic enumeraction
 
 CREATE TABLE   core_enum (