Sha256: 9cc959f2374735b0d519701388099bed47b0780dcc842a634c2fafaf24c8838a

Contents?: true

Size: 198 Bytes

Versions: 2

Compression:

Stored size: 198 Bytes

Contents

class CreateCompanies < ActiveRecord::Migration
  def self.up
    create_table :companies do |t|
      t.column :name,   :string
    end
  end
  
  def self.down
    drop_table :companies
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_addresses-0.0.1 test/app_root/db/migrate/001_create_companies.rb
has_addresses-0.0.2 test/app_root/db/migrate/001_create_companies.rb