Add required column for Doorkeeper 5

This commit is contained in:
wvengen 2018-10-13 21:53:23 +02:00 committed by wvengen
parent 0d9acd3082
commit 99ecb75c83
2 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,5 @@
class AddConfidentialToApplications < ActiveRecord::Migration
def change
add_column :oauth_applications, :confidential, :boolean, null: false, default: true
end
end

View file

@ -298,6 +298,7 @@ ActiveRecord::Schema.define(version: 20181201000000) do
t.string "scopes", limit: 255, default: "", null: false t.string "scopes", limit: 255, default: "", null: false
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
t.boolean "confidential", default: true, null: false
end end
add_index "oauth_applications", ["uid"], name: "index_oauth_applications_on_uid", unique: true, using: :btree add_index "oauth_applications", ["uid"], name: "index_oauth_applications_on_uid", unique: true, using: :btree