Sha256: 62a8021fc4187d20bbef3468a1b5d7729f06ffb6326ee7c920e207e599a3aaf9

Contents?: true

Size: 175 Bytes

Versions: 9

Compression:

Stored size: 175 Bytes

Contents

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

  def self.down
    drop_table :admins
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
validates_cnpj-1.1.3 spec/fake_app/db/create_admins.rb
validates_cnpj-1.1.2 spec/fake_app/db/create_admins.rb
validates_cnpj-1.1.1 spec/fake_app/db/create_admins.rb
validates_cnpj-1.1.0 spec/fake_app/db/create_admins.rb
validates_cnpj-1.0.0 spec/fake_app/db/create_admins.rb
validates_cnpj-0.1.2 spec/fake_app/db/create_admins.rb
validates_cnpj-0.1.1 spec/fake_app/db/create_admins.rb
validates_cnpj-0.1.0 spec/fake_app/db/create_admins.rb
validates_cnpj-0.0.1 spec/fake_app/db/create_admins.rb