Sha256: 99f67057c17a5fe2c36aa859ade8f2a1ecb70974c41c6ebecf07be229f6cc71f

Contents?: true

Size: 174 Bytes

Versions: 1

Compression:

Stored size: 174 Bytes

Contents

class AddCpfCnpjToPeople < ActiveRecord::Migration
  def change
    add_column :unico_people, :cpf_cnpj, :string, limit: 18
    add_index  :unico_people, :cpf_cnpj
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unico-training-7.8.0 db/migrate/20140929200836_add_cpf_cnpj_to_people.rb