Sha256: 87e3f18b4f28cb06b2ef220f58239f55a7fbb420682659eba8a806108803f0fb
Contents?: true
Size: 404 Bytes
Versions: 28
Compression:
Stored size: 404 Bytes
Contents
class AddTypetoPublic < ActiveRecord::Migration[4.2] def change change_table :metasploit_credential_publics do |t| # # Single Table Inheritance # t.string :type, null: true execute "UPDATE metasploit_credential_publics SET type = 'Metasploit::Credential::Username'" change_column :metasploit_credential_publics, :type, :string, null: false end end end
Version data entries
28 entries across 28 versions & 1 rubygems