Sha256: 1cf09479ca52f0b82ddca5e334d1c62133bdd7cf8a452e1252bc560d64cba731

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

class Create<%= custom_name.uppercase %> < ActiveRecord::Migration
  def change
    create_table <%= custom_name.underscore %> do |t|
      t.string :name
      t.string :abbreviation

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
looky-lu-0.0.5 lib/db/migrations/create_states.rb.erb
looky-lu-0.0.4 lib/db/migrations/create_states.rb.erb
looky-lu-0.0.3 lib/db/migrations/create_states.rb.erb
looky-lu-0.0.2 lib/db/migrations/create_states.rb.erb
looky-lu-0.0.1 lib/db/migrations/create_states.rb.erb