Sha256: d4f888832d64d392397d91399bb187cc786d63d483d62789f1a3efd90bf88690

Contents?: true

Size: 289 Bytes

Versions: 48

Compression:

Stored size: 289 Bytes

Contents

class CreateAdeiaTokens < ActiveRecord::Migration
  def change
    create_table :adeia_tokens do |t|
      t.string :token
      t.boolean :is_valid
      t.references :adeia_permission, index: true, foreign_key: true
      t.date :exp_at

      t.timestamps null: false
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
adeia-0.6.0 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.6 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.5 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.4 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.3 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.2 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.1 db/migrate/20151003150524_create_adeia_tokens.rb
adeia-0.5.0 db/migrate/20151003150524_create_adeia_tokens.rb