Sha256: e7534a2b0b752deb7779f6e130a576bf2e5b38703c15da1ba9f5383a9b9c7a40

Contents?: true

Size: 174 Bytes

Versions: 5

Compression:

Stored size: 174 Bytes

Contents

class CreateAdmins < ActiveRecord::Migration
  def self.up
    create_table :admins do |u|
      u.string :cpf
    end
  end

  def self.down
    drop_table :admins
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
validates_cpf-0.2.2 spec/fake_app/db/create_admins.rb
validates_cpf-0.2.1 spec/fake_app/db/create_admins.rb
validates_cpf-0.2.0 spec/fake_app/db/create_admins.rb
validates_cpf-0.1.1 spec/fake_app/db/create_admins.rb
validates_cpf-0.1.0 spec/fake_app/db/create_admins.rb