Skip to content

Commit

Permalink
Add audit_log index.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed May 24, 2021
1 parent 6a475ba commit 413c63a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions other/openaudit_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ CREATE TABLE `audit_log` (
PRIMARY KEY (`id`),
KEY `system_id` (`system_id`),
KEY `audit_log_system_id_type` (`system_id`,`type`),
KEY `audit_log_system_id_timestamp` (`system_id`,`timestamp`),
CONSTRAINT `audit_log_system_id` FOREIGN KEY (`system_id`) REFERENCES `system` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
Expand Down

0 comments on commit 413c63a

Please sign in to comment.