Sha256: cede5cbb29b05a9df279d0d90e6c44d1cb4e277f3d4b53cf9e3f0b79449ff19c

Contents?: true

Size: 463 Bytes

Versions: 22

Compression:

Stored size: 463 Bytes

Contents

class AddCredsTable < ActiveRecord::Migration[4.2]
	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

22 entries across 22 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 db/migrate/026_add_creds_table.rb
metasploit_data_models-6.0.5 db/migrate/026_add_creds_table.rb
metasploit_data_models-6.0.4 db/migrate/026_add_creds_table.rb
metasploit_data_models-6.0.3 db/migrate/026_add_creds_table.rb
metasploit_data_models-6.0.2 db/migrate/026_add_creds_table.rb
metasploit_data_models-6.0.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-6.0.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.6 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.5 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.4 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.3 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.2 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-5.0.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-4.1.4 db/migrate/026_add_creds_table.rb
metasploit_data_models-4.1.3 db/migrate/026_add_creds_table.rb
metasploit_data_models-4.1.2 db/migrate/026_add_creds_table.rb
metasploit_data_models-4.1.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-4.1.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-4.0.2 db/migrate/026_add_creds_table.rb