summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-02-28 11:12:11 +0100
committerPawel Chojnacki <pawel@chojnacki.ws>2017-03-06 15:41:50 +0100
commit8a9bc24ef87739580c19ee8455bd8224d3c18b3e (patch)
tree1c5a0718478064c1c8316f6d0817762dcfd38a31 /db/schema.rb
parent98bd48c66bd45241d857528791f4e2dd21bfc17a (diff)
downloadgitlab-ce-8a9bc24ef87739580c19ee8455bd8224d3c18b3e.tar.gz
align schema.rb with upstream and fix rubocop warning about not freezing mutable constants and empty error classes
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb
index be54b177fa6..3898eed81bd 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -111,10 +111,11 @@ ActiveRecord::Schema.define(version: 20170305203726) do
t.boolean "plantuml_enabled"
t.integer "max_pages_size", default: 100, null: false
t.integer "terminal_max_session_time", default: 0, null: false
- t.string "default_artifacts_expire_in", default: "0", null: false
+(??) t.string "default_artifacts_expire_in", default: '0', null: false
t.integer "unique_ips_limit_per_user", default: 10, null: false
t.integer "unique_ips_limit_time_window", default: 3600, null: false
t.boolean "unique_ips_limit_enabled", default: false, null: false
+ t.string "default_artifacts_expire_in", default: "0", null: false
end
create_table "audit_events", force: :cascade do |t|
@@ -255,8 +256,8 @@ ActiveRecord::Schema.define(version: 20170305203726) do
t.integer "lock_version"
end
+ add_index "ci_commits", ["gl_project_id", "ref", "status"], name: "index_ci_commits_on_gl_project_id_and_ref_and_status", using: :btree
add_index "ci_commits", ["gl_project_id", "sha"], name: "index_ci_commits_on_gl_project_id_and_sha", using: :btree
- add_index "ci_commits", ["gl_project_id", "status"], name: "index_ci_commits_on_gl_project_id_and_status", using: :btree
add_index "ci_commits", ["gl_project_id"], name: "index_ci_commits_on_gl_project_id", using: :btree
add_index "ci_commits", ["status"], name: "index_ci_commits_on_status", using: :btree
add_index "ci_commits", ["user_id"], name: "index_ci_commits_on_user_id", using: :btree