diff options
author | francis <francis> | 2008-08-29 16:57:56 +0000 |
---|---|---|
committer | francis <francis> | 2008-08-29 16:57:56 +0000 |
commit | 343ef95df5500537ccf7385d22a732e21bce6ffa (patch) | |
tree | f0b4fbbd21a407f14adc535c8b52276fe52158bb | |
parent | e6d52768826eec84d9c2e60784694586f7c0158e (diff) |
Indices
-rw-r--r-- | db/migrate/064_indices_for_annotations.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/064_indices_for_annotations.rb b/db/migrate/064_indices_for_annotations.rb new file mode 100644 index 000000000..5b89271fe --- /dev/null +++ b/db/migrate/064_indices_for_annotations.rb @@ -0,0 +1,11 @@ +class IndicesForAnnotations < ActiveRecord::Migration + def self.up + add_index :info_request_events, :created_at + add_index :info_request_events, :info_request_id + end + + def self.down + remove_index :info_request_events, :created_at + remove_index :info_request_events, :info_request_id + end +end |