diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-03 17:50:33 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-03 17:50:33 +0200 |
| commit | 8dec24a33ca35cbd9daa6ba38df4fe1e1f9eb2ee (patch) | |
| tree | 05b6b84a12e5a976cb2813497d39b9bd8ab14e6f /db/migrate | |
| parent | 05820516f1940b50a493fe9f702bdb0a57723d19 (diff) | |
| download | gitlab-ce-8dec24a33ca35cbd9daa6ba38df4fe1e1f9eb2ee.tar.gz | |
Event indices related to #2159
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20121203154450_add_events_indices.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20121203154450_add_events_indices.rb b/db/migrate/20121203154450_add_events_indices.rb new file mode 100644 index 00000000000..502a2ccbcda --- /dev/null +++ b/db/migrate/20121203154450_add_events_indices.rb @@ -0,0 +1,8 @@ +class AddEventsIndices < ActiveRecord::Migration + def change + add_index :events, :project_id + add_index :events, :author_id + add_index :events, :action + add_index :events, :target_type + end +end |
