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
path: root/db
diff options
context:
space:
mode:
authorMehmet Beydogan <mehmet.beydogan@gmail.com>2016-03-20 15:33:38 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-04-20 22:42:09 +0300
commitc1f51655a054878ab1870afc9c5b2237c0e6a7bb (patch)
treedc0310cbbf710ce6a6aa7911310fcd52ebc9c033 /db
parentc6be4ec54438eef630614561aa1a020be75642ec (diff)
Add index to issues due date
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160320123111_add_index_to_issues_due_date.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160320123111_add_index_to_issues_due_date.rb b/db/migrate/20160320123111_add_index_to_issues_due_date.rb
new file mode 100644
index 00000000000..03a33c679f4
--- /dev/null
+++ b/db/migrate/20160320123111_add_index_to_issues_due_date.rb
@@ -0,0 +1,5 @@
+class AddIndexToIssuesDueDate < ActiveRecord::Migration
+ def change
+ add_index :issues, :due_date
+ end
+end