Sha256: 1ef3aeb3725f99b9e85b2186075cf36ca45a84598eb24af34dcc598ff89f79bd

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

class CreateCarParts < ActiveRecord::Migration
  def self.up
    create_table :car_parts do |t|
      t.string :name
      t.integer :number
    end
  end
  
  def self.down
    drop_table :car_parts
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
pluginaweek-enumerate_by-0.4.3 test/app_root/db/migrate/003_create_car_parts.rb
enumerate_by-0.4.4 test/app_root/db/migrate/003_create_car_parts.rb
enumerate_by-0.4.3 test/app_root/db/migrate/003_create_car_parts.rb