Squashed commits: [d5001fe] Refactor [8d8a23f] Add test for when authorization is denied [659fc56] Adjust password flow integration test
11 lines
263 B
Ruby
11 lines
263 B
Ruby
class CreateOAuthAccessTokens < ActiveRecord::Migration
|
|
def change
|
|
create_table :o_auth_access_tokens do |t|
|
|
t.belongs_to :authorization, index: true
|
|
t.string :token
|
|
t.datetime :expires_at
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|