diaspora/db/migrate/20150714055110_create_id_tokens.rb
2016-01-04 16:49:50 +09:00

11 lines
243 B
Ruby

class CreateIdTokens < ActiveRecord::Migration
def change
create_table :id_tokens do |t|
t.belongs_to :authorization, index: true
t.datetime :expires_at
t.string :nonce
t.timestamps null: false
end
end
end