Sha256: 0147fb93ae275ba0d5692e1803eeaa5f6bff5b49358051827b066e534638bc56

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

class CreateCompanies < ActiveRecord::Migration
  def self.up
    create_table :companies do |u|
      u.string :cnpj
    end
  end

  def self.down
    drop_table :companies
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
validates_cnpj-0.1.2 spec/fake_app/db/create_companies.rb
validates_cnpj-0.1.1 spec/fake_app/db/create_companies.rb
validates_cnpj-0.1.0 spec/fake_app/db/create_companies.rb
validates_cnpj-0.0.1 spec/fake_app/db/create_companies.rb