Sha256: 83e1c563ab38f6ac3f39a9035aed33ab35ea25d903f5611a30fa35ce36ae811f

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

class CreateInteractions < ActiveRecord::Migration
  def change
    create_table :interactions do |t|
      t.integer  "interactable_id"
      t.string   "interactable_type"
      t.string   "key"
      t.string   "value"
      t.datetime "created_at",        null: false
      t.datetime "updated_at",        null: false
      t.boolean  "current",           default: true
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
inter-0.0.1 lib/generators/templates/create_interactions.rb
inter-0.0.1 spec/dummy/db/migrate/20131111155047_create_interactions.rb