Sha256: ffc507d649cfe0b24bf13b0a1c344c60910e9270bf452b60ee5d360605a860f5

Contents?: true

Size: 239 Bytes

Versions: 10

Compression:

Stored size: 239 Bytes

Contents

class CreateCustomers < ActiveRecord::Migration
  def change
    create_table :customers do |t|
      t.string :first_name
      t.string :last_name
      t.string :email_address
      t.string :phone

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hashbrowns-0.2.5 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.2.4 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.2.3 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.2.2 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.2.1 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.2.0 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.1.6 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.1.5 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.1.4 example/db/migrate/20121102164922_create_customers.rb
hashbrowns-0.1.3 example/db/migrate/20121102164922_create_customers.rb