diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-16 17:59:54 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-16 17:59:54 +0300 |
commit | 912f470497129b0d8759b18700299e38535e7bec (patch) | |
tree | 47d58838d15fb6de49f2e3a335df43db9e5b0348 /db/migrate/20150916145038_add_index_for_committed_at_and_id.rb | |
parent | 1b2a1d0ddd39ecc530c64563d0083e1e255f7c1a (diff) |
Fix ordering issue
Diffstat (limited to 'db/migrate/20150916145038_add_index_for_committed_at_and_id.rb')
-rw-r--r-- | db/migrate/20150916145038_add_index_for_committed_at_and_id.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150916145038_add_index_for_committed_at_and_id.rb b/db/migrate/20150916145038_add_index_for_committed_at_and_id.rb new file mode 100644 index 00000000000..78d9e5f61a1 --- /dev/null +++ b/db/migrate/20150916145038_add_index_for_committed_at_and_id.rb @@ -0,0 +1,5 @@ +class AddIndexForCommittedAtAndId < ActiveRecord::Migration + def change + add_index :ci_commits, [:project_id, :committed_at, :id] + end +end |