diff options
author | francis <francis> | 2009-06-09 10:04:45 +0000 |
---|---|---|
committer | francis <francis> | 2009-06-09 10:04:45 +0000 |
commit | cb5cc0dfa56807a680135f07768940c4f99db051 (patch) | |
tree | 5bb803973b8803c52c28552bdb09e5dfa076ff2e | |
parent | f165bf24ef7f7fcb939a2fc77b89d80c0353d784 (diff) |
Add an index Alex found was missing.
-rw-r--r-- | db/migrate/076_add_indices.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/076_add_indices.rb b/db/migrate/076_add_indices.rb new file mode 100644 index 000000000..fd102caba --- /dev/null +++ b/db/migrate/076_add_indices.rb @@ -0,0 +1,9 @@ +class AddIndices < ActiveRecord::Migration + def self.up + add_index :track_things_sent_emails, :track_thing_id + end + + def self.down + remove_index :track_things_sent_emails, :track_thing_id + end +end |