Sha256: aeb10de3a245742b71e51a30baaa2c1401e8ff9d7a074bb233c58797b6f42f51

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 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

4 entries across 4 versions & 1 rubygems

Version Path
rails_admin-0.6.4 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.6.3 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.6.2 spec/dummy_app/db/migrate/20110714095433_create_balls.rb
rails_admin-0.6.1 spec/dummy_app/db/migrate/20110714095433_create_balls.rb