diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-04 19:40:07 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-04 22:17:03 +0100 |
commit | 8cc14dd5371c33f389211fcee39dbb28686b2021 (patch) | |
tree | 5d112a8a9cc325dd7c781db3a68e5c7cac6889d1 /db | |
parent | 7d7d289b159fba332c68dc66b6f9f3b17428c3a3 (diff) | |
download | gitlab-ce-8cc14dd5371c33f389211fcee39dbb28686b2021.tar.gz |
Rename Project#cache_index to jobs_cache_index
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20171222183504_add_jobs_cache_index_to_project.rb (renamed from db/migrate/20171222183504_add_cache_index_to_project.rb) | 2 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20171222183504_add_cache_index_to_project.rb b/db/migrate/20171222183504_add_jobs_cache_index_to_project.rb index e1d73db1ab0..58ac0177420 100644 --- a/db/migrate/20171222183504_add_cache_index_to_project.rb +++ b/db/migrate/20171222183504_add_jobs_cache_index_to_project.rb @@ -8,6 +8,6 @@ class AddCacheIndexToProject < ActiveRecord::Migration DOWNTIME = false def change - add_column :projects, :cache_index, :integer + add_column :projects, :jobs_cache_index, :integer end end diff --git a/db/schema.rb b/db/schema.rb index b7512f293a6..cd3f87062ab 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1447,7 +1447,7 @@ ActiveRecord::Schema.define(version: 20171222183504) do t.boolean "repository_read_only" t.boolean "merge_requests_ff_only_enabled", default: false t.boolean "merge_requests_rebase_enabled", default: false, null: false - t.integer "cache_index" + t.integer "jobs_cache_index" end add_index "projects", ["ci_id"], name: "index_projects_on_ci_id", using: :btree |