about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-11 01:58:55 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-11 01:58:55 +0100
commitb919f39b3186c5f022d3965cf6023ff9041e91ca (patch)
tree797d63419822cb63a24e403ea47ab8b8f304fff9 /db/migrate
parentd4b9b289e8a4db61dbed9c725ee602ee63515d15 (diff)
Customizing doorkeeper views for authorizing app
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160306172223_create_doorkeeper_tables.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160306172223_create_doorkeeper_tables.rb b/db/migrate/20160306172223_create_doorkeeper_tables.rb
index e9da5f342..d89b005c3 100644
--- a/db/migrate/20160306172223_create_doorkeeper_tables.rb
+++ b/db/migrate/20160306172223_create_doorkeeper_tables.rb
@@ -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