summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorVladimir Shushlin <vshushlin@gitlab.com>2019-07-17 12:56:58 +0000
committerNick Thomas <nick@gitlab.com>2019-07-17 12:56:58 +0000
commit6796dcf27715f9a149387bb80e7a359208602f1f (patch)
tree33528ecb1d26a828835ad22d5151f189d1c668a2 /db/schema.rb
parent9c3dfd2085369005305260bdaec872cb078a758e (diff)
downloadgitlab-ce-6796dcf27715f9a149387bb80e7a359208602f1f.tar.gz
Fix wrong pages access level default
- Set access level in before_validation hook - Add post migration for updating existing project_features
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 644ca1fe970..f752211f2ec 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2019_07_03_130053) do
+ActiveRecord::Schema.define(version: 2019_07_15_114644) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_trgm"
@@ -2507,7 +2507,7 @@ ActiveRecord::Schema.define(version: 2019_07_03_130053) do
t.datetime "created_at"
t.datetime "updated_at"
t.integer "repository_access_level", default: 20, null: false
- t.integer "pages_access_level", default: 20, null: false
+ t.integer "pages_access_level", null: false
t.index ["project_id"], name: "index_project_features_on_project_id", unique: true, using: :btree
end