diff options
author | francis <francis> | 2009-06-12 17:48:31 +0000 |
---|---|---|
committer | francis <francis> | 2009-06-12 17:48:31 +0000 |
commit | 3e46e8e5240a7b87656d26d59cd3a0d6126b3089 (patch) | |
tree | aa45517a0e86915aab08b6ba5ba4340677a54afb /db/migrate/077_add_exim_log_index.rb | |
parent | 305a474d029c363f42641561f02afe0ae125b30f (diff) |
Add index, thanks Alex.
Diffstat (limited to 'db/migrate/077_add_exim_log_index.rb')
-rw-r--r-- | db/migrate/077_add_exim_log_index.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/077_add_exim_log_index.rb b/db/migrate/077_add_exim_log_index.rb new file mode 100644 index 000000000..c2d04d7ca --- /dev/null +++ b/db/migrate/077_add_exim_log_index.rb @@ -0,0 +1,9 @@ +class AddEximLogIndex < ActiveRecord::Migration + def self.up + add_index :exim_logs, :exim_log_done_id + end + + def self.down + remove_index :exim_logs, :exim_log_done_id + end +end |