Sha256: 764e0be38853375d7ae992876b2bc9705355c635169edd0b0cb07d324f7b6724
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
class CreateAdeiaTokens < ActiveRecord::Migration def change create_table :adeia_tokens do |t| t.string :token t.boolean :is_valid t.references :permission, index: true, foreign_key: true t.date :exp_at t.timestamps null: false end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adeia-0.4.0 | db/migrate/20151003150524_create_adeia_tokens.rb |
adeia-0.3.0 | db/migrate/20151003150524_create_adeia_tokens.rb |
adeia-0.2.0 | db/migrate/20151003150524_create_adeia_tokens.rb |