diaspora/db/migrate/20150613202109_create_o_auth_applications.rb
theworldbright 7b80a7408d Add integration tests for implicit flow
Squashed commits:
[d5001fe] Refactor
[8d8a23f] Add test for when authorization is denied
[659fc56] Adjust password flow integration test
2016-01-04 16:49:50 +09:00

13 lines
309 B
Ruby

class CreateOAuthApplications < ActiveRecord::Migration
def change
create_table :o_auth_applications do |t|
t.belongs_to :user, index: true
t.string :client_id
t.string :client_secret
t.string :name
t.string :redirect_uris
t.timestamps null: false
end
end
end