X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9018d1af07c53b03bf8caf0480b931dc25f57147..06d03c8acccfadfe7e2bf441c9fbd0044e7a2fcf:/db/migrate/20201004105659_create_doorkeeper_tables.rb diff --git a/db/migrate/20201004105659_create_doorkeeper_tables.rb b/db/migrate/20201004105659_create_doorkeeper_tables.rb index 66456bc2c..d9a643554 100644 --- a/db/migrate/20201004105659_create_doorkeeper_tables.rb +++ b/db/migrate/20201004105659_create_doorkeeper_tables.rb @@ -18,7 +18,7 @@ class CreateDoorkeeperTables < ActiveRecord::Migration[6.0] create_table :oauth_access_grants do |t| t.references :resource_owner, :null => false, :type => :bigint - t.references :application, :null => false + t.references :application, :null => false, :type => :bigint t.string :token, :null => false t.integer :expires_in, :null => false t.text :redirect_uri, :null => false @@ -35,7 +35,7 @@ class CreateDoorkeeperTables < ActiveRecord::Migration[6.0] create_table :oauth_access_tokens do |t| t.references :resource_owner, :index => true, :type => :bigint - t.references :application, :null => false + t.references :application, :null => false, :type => :bigint t.string :token, :null => false t.string :refresh_token t.integer :expires_in