Sha256: 4db9ac3db832359466a4e7ed4ce3fa76aba1fe2f65e811e8b42a7a1fc0f9a7d9

Contents?: true

Size: 195 Bytes

Versions: 5

Compression:

Stored size: 195 Bytes

Contents

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

  def self.down
    drop_table :admins
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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