diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-26 09:07:02 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-26 09:07:02 +0100 |
commit | 6ce3b1a31174a9f09dd34c114c7fb13d898db6ec (patch) | |
tree | f0e014c622dea07a1724874776d60939feec0044 /db/schema.rb | |
parent | e46f546b4cf0218dcec0771381d0718e0ba72f58 (diff) | |
download | gitlab-ce-6ce3b1a31174a9f09dd34c114c7fb13d898db6ec.tar.gz |
Add migration for developers can push to protected branches flag.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb index b8335c5841b..38255f2d367 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20141205134006) do +ActiveRecord::Schema.define(version: 20141226080412) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -279,10 +279,11 @@ ActiveRecord::Schema.define(version: 20141205134006) do add_index "projects", ["star_count"], name: "index_projects_on_star_count", using: :btree create_table "protected_branches", force: true do |t| - t.integer "project_id", null: false - t.string "name", null: false + t.integer "project_id", null: false + t.string "name", null: false t.datetime "created_at" t.datetime "updated_at" + t.boolean "developers_can_push", default: false, null: false end add_index "protected_branches", ["project_id"], name: "index_protected_branches_on_project_id", using: :btree @@ -367,7 +368,6 @@ ActiveRecord::Schema.define(version: 20141205134006) do t.integer "notification_level", default: 1, null: false t.datetime "password_expires_at" t.integer "created_by_id" - t.datetime "last_credential_check_at" t.string "avatar" t.string "confirmation_token" t.datetime "confirmed_at" @@ -375,6 +375,7 @@ ActiveRecord::Schema.define(version: 20141205134006) do t.string "unconfirmed_email" t.boolean "hide_no_ssh_key", default: false t.string "website_url", default: "", null: false + t.datetime "last_credential_check_at" end add_index "users", ["admin"], name: "index_users_on_admin", using: :btree |