Customizing doorkeeper views for authorizing app
This commit is contained in:
parent
d4b9b289e8
commit
b919f39b31
12 changed files with 78 additions and 64 deletions
|
@ -12,7 +12,7 @@ class CreateDoorkeeperTables < ActiveRecord::Migration
|
|||
add_index :oauth_applications, :uid, unique: true
|
||||
|
||||
create_table :oauth_access_grants do |t|
|
||||
t.integer :user_id, null: false
|
||||
t.integer :resource_owner_id, null: false
|
||||
t.integer :application_id, null: false
|
||||
t.string :token, null: false
|
||||
t.integer :expires_in, null: false
|
||||
|
|
12
db/schema.rb
12
db/schema.rb
|
@ -68,12 +68,12 @@ ActiveRecord::Schema.define(version: 20160306172223) do
|
|||
add_index "mentions", ["account_id", "status_id"], name: "index_mentions_on_account_id_and_status_id", unique: true, using: :btree
|
||||
|
||||
create_table "oauth_access_grants", force: :cascade do |t|
|
||||
t.integer "user_id", null: false
|
||||
t.integer "application_id", null: false
|
||||
t.string "token", null: false
|
||||
t.integer "expires_in", null: false
|
||||
t.text "redirect_uri", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.integer "resource_owner_id", null: false
|
||||
t.integer "application_id", null: false
|
||||
t.string "token", null: false
|
||||
t.integer "expires_in", null: false
|
||||
t.text "redirect_uri", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "revoked_at"
|
||||
t.string "scopes"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue