diaspora/db/migrate/20150708153926_create_authorizations.rb
2016-01-04 16:49:49 +09:00

11 lines
276 B
Ruby

class CreateAuthorizations < ActiveRecord::Migration
def change
create_table :authorizations do |t|
t.belongs_to :user, index: true
t.belongs_to :o_auth_application, index: true
t.string :refresh_token
t.timestamps null: false
end
end
end