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 |
---|---|
preferences-0.1.0 | test/app_root/db/migrate/002_create_cars.rb |
preferences-0.1.1 | test/app_root/db/migrate/002_create_cars.rb |
preferences-0.0.1 | test/app_root/db/migrate/002_create_cars.rb |