DataObjects/core.sql
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 04:56:58 +0000 (12:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 04:56:58 +0000 (12:56 +0800)
DataObjects/core.sql

index 94392e5..0702704 100644 (file)
@@ -76,7 +76,7 @@ CREATE TABLE  core_event_audit  (
     `old_audit_id` int(11)  NOT NULL,
     `newvalue` BLOB  NOT NULL,
     PRIMARY KEY (`id`),
-    INDEX `lookup`(`event_id`, `name`, `last_audit_id`)
+    INDEX `lookup`(`event_id`, `name`, `$old_audit_id`)
 );