Sha256: 592df48accc3f1c323340d105863b9f1a41f19911e44a32a630cceaa5eac409e

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def change
    create_table :field_test_events do |t|
      t.integer :field_test_membership_id
      t.string :name
      t.timestamp :created_at
    end

    add_index :field_test_events, :field_test_membership_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
field_test-0.2.1 lib/generators/field_test/templates/events.rb