diff options
author | Valery Sizov <valery@gitlab.com> | 2016-02-09 15:10:22 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-02-09 15:10:22 +0200 |
commit | 6c3cd241e87938373d31d5d4914fccda74145e02 (patch) | |
tree | 02e5f6d60a7b78bcfb8d35083e300e67003d5064 /db/migrate | |
parent | 643c61867cc99f626d58798a5365e7573f90b176 (diff) | |
download | gitlab-ce-6c3cd241e87938373d31d5d4914fccda74145e02.tar.gz |
Add index for snippet's updated_atindex_snippet
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20160209130428_add_index_to_snippet.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160209130428_add_index_to_snippet.rb b/db/migrate/20160209130428_add_index_to_snippet.rb new file mode 100644 index 00000000000..95d5719be59 --- /dev/null +++ b/db/migrate/20160209130428_add_index_to_snippet.rb @@ -0,0 +1,5 @@ +class AddIndexToSnippet < ActiveRecord::Migration + def change + add_index :snippets, :updated_at + end +end |