Add required column for Doorkeeper 5
This commit is contained in:
parent
0d9acd3082
commit
99ecb75c83
2 changed files with 11 additions and 5 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class AddConfidentialToApplications < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :oauth_applications, :confidential, :boolean, null: false, default: true
|
||||||
|
end
|
||||||
|
end
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue