Sha256: 44d3a95dd16a132387de1970b290957f3592260ef49e04ddb994463d6b9f3057

Contents?: true

Size: 235 Bytes

Versions: 48

Compression:

Stored size: 235 Bytes

Contents

class CreateCountries < ActiveRecord::Migration
  def self.up
    create_table :countries do |t|
      t.string :name
      t.integer :continent_id

      t.timestamps
    end
  end

  def self.down
    drop_table :countries
  end
end

Version data entries

48 entries across 48 versions & 4 rubygems

Version Path
netzke-basepack-0.3.0 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.4.1 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.3.8 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.3.7 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.4.0 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.3.9.1 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.3.9 test/app_root/db/migrate/20081223025635_create_countries.rb
netzke-basepack-0.4.2 test/app_root/db/migrate/20081223025635_create_countries.rb