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:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-03-29 17:57:24 +0300
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-03-31 21:20:18 +0300
commit1e7116b34d229fcefab5147d6f90b1c24513afe8 (patch)
tree4b0a50f7c7f6f3872ab5aa6e2ca43bb6d8be5c39 /db/migrate/20160329144452_add_index_on_pending_delete_projects.rb
parent95c7aa62defdbc7984c71faeb0b901a7fe59b223 (diff)
Exclude projects pending deletion from all results
Diffstat (limited to 'db/migrate/20160329144452_add_index_on_pending_delete_projects.rb')
-rw-r--r--db/migrate/20160329144452_add_index_on_pending_delete_projects.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160329144452_add_index_on_pending_delete_projects.rb b/db/migrate/20160329144452_add_index_on_pending_delete_projects.rb
new file mode 100644
index 00000000000..275554e736e
--- /dev/null
+++ b/db/migrate/20160329144452_add_index_on_pending_delete_projects.rb
@@ -0,0 +1,6 @@
+class AddIndexOnPendingDeleteProjects < ActiveRecord::Migration
+ def change
+ add_index :projects, :pending_delete
+ end
+end
+