Skip to content

Commit

Permalink
Commented out index creation for old_vlaue and new_value based on
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammaye committed Sep 18, 2013
1 parent 6ee0c4b commit f75cf7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migrations/m110517_155003_create_tables_audit_trail.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ public function up()
$this->createIndex( 'idx_audit_trail_model_id', 'tbl_audit_trail', 'model_id');
$this->createIndex( 'idx_audit_trail_model', 'tbl_audit_trail', 'model');
$this->createIndex( 'idx_audit_trail_field', 'tbl_audit_trail', 'field');
/* http://stackoverflow.com/a/1827099/383478
$this->createIndex( 'idx_audit_trail_old_value', 'tbl_audit_trail', 'old_value');
$this->createIndex( 'idx_audit_trail_new_value', 'tbl_audit_trail', 'new_value');
*/
$this->createIndex( 'idx_audit_trail_action', 'tbl_audit_trail', 'action');
}

Expand Down

0 comments on commit f75cf7c

Please sign in to comment.