Sha256: 54c7104de7b57a5d44fc50094629143739c2fe3430a0d009dc179712d8d3ff6c

Contents?: true

Size: 209 Bytes

Versions: 31

Compression:

Stored size: 209 Bytes

Contents

class CreateBalls < ActiveRecord::Migration
  def self.up
    create_table :balls, :force => true do |t|
      t.string :color
      t.timestamps
    end
  end

  def self.down
    drop_table :balls
  end
end

Version data entries

31 entries across 31 versions & 6 rubygems

Version Path
rails_admin-0.6.0 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.5.0 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.9 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.8 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.7 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.6 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.5 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.4 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-lbgraham-0.4.2 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.3 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.2 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.1 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.4.0 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.3.0 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.2.0 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.1.2 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.1.1 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.1.0 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.0.5 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.0.4 spec/dummy_app/db/migrate/20110714095433_create_balls.rb