Sha256: 5c11c46eb86b1306ded1fd5ec681afeb86fe48b5f20582675cca0c1ec60c0142

Contents?: true

Size: 228 Bytes

Versions: 14

Compression:

Stored size: 228 Bytes

Contents

class CreatePlatforms < ActiveRecord::Migration
  def self.up
    create_table :platforms do |t|
      t.string :name
      t.string :status

      t.timestamps
    end
  end

  def self.down
    drop_table :platforms
  end
end

Version data entries

14 entries across 11 versions & 1 rubygems

Version Path
paper_trail_manager-0.6.0 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.5.0 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.4.0 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.3.0 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.2.0 rails_test/common/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.1.6 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.1.4 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.1.3 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.1.2 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.1.1 spec/dummy/db/migrate/20110228093241_create_platforms.rb
paper_trail_manager-0.1.0 spec/dummy/db/migrate/20110228093241_create_platforms.rb