Sha256: bb8da98a63411966fe7ae579f5ca8709301d53b344afd708d6b45efc4b2490fe

Contents?: true

Size: 458 Bytes

Versions: 44

Compression:

Stored size: 458 Bytes

Contents

class AddCredsTable < ActiveRecord::Migration
	def self.up
		create_table :creds do |t|
			t.integer   :service_id, :null => false
			t.timestamps null: false
			t.string    :user, :limit => 2048
			t.string    :pass, :limit => 4096
			t.boolean   :active, :default => true
			t.string    :proof, :limit => 4096
			t.string    :ptype, :limit => 16
			t.integer   :source_id
			t.string    :source_type
		end
	end
	def self.down
		drop_table :creds
	end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
metasploit_data_models-2.0.7 db/migrate/026_add_creds_table.rb
metasploit_data_models-2.0.6 db/migrate/026_add_creds_table.rb
metasploit_data_models-2.0.5 db/migrate/026_add_creds_table.rb
metasploit_data_models-2.0.4 db/migrate/026_add_creds_table.rb
metasploit_data_models-2.0.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-2.0.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.3.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.11 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.10 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.9 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.8 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.7 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.6 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.5 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.4 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.3 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.2 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.2.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-1.1.0 db/migrate/026_add_creds_table.rb