Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 15:02:05 +0400
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 15:02:05 +0400
commitc685024951b8fed73ab05039baa170859ddf7b12 (patch)
tree5afb02b6147e9d4516c3fd096c128d488deaa283 /db/migrate
parent285926918b95f1d771bf4e9c84972d4e55b41ea9 (diff)
Add an index for Note#updated_at
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20140428105831_add_notes_index_updated_at.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20140428105831_add_notes_index_updated_at.rb b/db/migrate/20140428105831_add_notes_index_updated_at.rb
new file mode 100644
index 00000000000..6c25570f128
--- /dev/null
+++ b/db/migrate/20140428105831_add_notes_index_updated_at.rb
@@ -0,0 +1,5 @@
+class AddNotesIndexUpdatedAt < ActiveRecord::Migration
+ def change
+ add_index :notes, :updated_at
+ end
+end