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:
authorGabriel Mazetto <brodock@gmail.com>2017-08-09 09:41:32 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-08-22 07:33:20 +0300
commitfff5ebdcae6794de35f8eaff15217d8643c83686 (patch)
tree178ffe67551e78ec99e5d2df001bbcc93d96a9c3 /db
parent95a270c87104e1225d4c29a54611f5e4f7a76b56 (diff)
Removed some useless code, codestyle changes and removed an index
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170802013652_add_storage_fields_to_project.rb2
-rw-r--r--db/schema.rb1
2 files changed, 0 insertions, 3 deletions
diff --git a/db/migrate/20170802013652_add_storage_fields_to_project.rb b/db/migrate/20170802013652_add_storage_fields_to_project.rb
index e99ae53ef11..c2381a9d0b2 100644
--- a/db/migrate/20170802013652_add_storage_fields_to_project.rb
+++ b/db/migrate/20170802013652_add_storage_fields_to_project.rb
@@ -5,11 +5,9 @@ class AddStorageFieldsToProject < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
- disable_ddl_transaction!
def up
add_column :projects, :storage_version, :integer, limit: 2
- add_concurrent_index :projects, :storage_version
end
def down
diff --git a/db/schema.rb b/db/schema.rb
index 4d999ead607..cd488630237 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1226,7 +1226,6 @@ ActiveRecord::Schema.define(version: 20170820100558) do
add_index "projects", ["pending_delete"], name: "index_projects_on_pending_delete", using: :btree
add_index "projects", ["runners_token"], name: "index_projects_on_runners_token", using: :btree
add_index "projects", ["star_count"], name: "index_projects_on_star_count", using: :btree
- add_index "projects", ["storage_version"], name: "index_projects_on_storage_version", using: :btree
add_index "projects", ["visibility_level"], name: "index_projects_on_visibility_level", using: :btree
create_table "protected_branch_merge_access_levels", force: :cascade do |t|