Sha256: 836826a972d0c9731d82126cdab30d6d520e5f2d7913a0fc48a4741692c83b07

Contents?: true

Size: 192 Bytes

Versions: 5

Compression:

Stored size: 192 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |u|
      u.string :cpf
      u.string :name
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
validates_cpf-1.1.3 spec/fake_app/db/create_users.rb
validates_cpf-1.1.2 spec/fake_app/db/create_users.rb
validates_cpf-1.1.1 spec/fake_app/db/create_users.rb
validates_cpf-1.1.0 spec/fake_app/db/create_users.rb
validates_cpf-1.0.0 spec/fake_app/db/create_users.rb