Sha256: b9560aff6acdd29ac23405773ef4fbabe964aa05c399f9b42b337b2e93ff0a93

Contents?: true

Size: 188 Bytes

Versions: 23

Compression:

Stored size: 188 Bytes

Contents

class CreateCars < ActiveRecord::Migration
  def self.up
    create_table :cars do |t|
      t.string :name, :null => false
    end
  end
  
  def self.down
    drop_table :cars
  end
end

Version data entries

23 entries across 23 versions & 5 rubygems

Version Path
dm_preferences-1.5.1 spec/dummy/db/migrate/002_create_cars.rb
dm_preferences-1.5 spec/dummy/db/migrate/002_create_cars.rb
dm_preferences-1.0 spec/dummy/db/migrate/002_create_cars.rb
dm_preferences-0.5.6 test/app_root/db/migrate/002_create_cars.rb
ee_preferences-0.6.3 test/app_root/db/migrate/002_create_cars.rb
ee_preferences-0.6.2 test/app_root/db/migrate/002_create_cars.rb
ee_preferences-0.6.1 test/app_root/db/migrate/002_create_cars.rb
ee_preferences-0.4.3 test/app_root/db/migrate/002_create_cars.rb
pluginaweek-preferences-0.3.1 test/app_root/db/migrate/002_create_cars.rb
optimeez_preferences-0.4.2 test/app_root/db/migrate/002_create_cars.rb
preferences-0.4.2 test/app_root/db/migrate/002_create_cars.rb
preferences-0.4.1 test/app_root/db/migrate/002_create_cars.rb
preferences-0.4.0 test/app_root/db/migrate/002_create_cars.rb
preferences-0.3.0 test/app_root/db/migrate/002_create_cars.rb
preferences-0.1.2 test/app_root/db/migrate/002_create_cars.rb
preferences-0.1.3 test/app_root/db/migrate/002_create_cars.rb
preferences-0.1.4 test/app_root/db/migrate/002_create_cars.rb
preferences-0.2.0 test/app_root/db/migrate/002_create_cars.rb
preferences-0.3.1 test/app_root/db/migrate/002_create_cars.rb
preferences-0.1.5 test/app_root/db/migrate/002_create_cars.rb