Sha256: b37c9c24a88d05c9de6eb3317e0d240fde447d8d10a0d8a1229198067829c436

Contents?: true

Size: 448 Bytes

Versions: 110

Compression:

Stored size: 448 Bytes

Contents

class AddCredsTable < ActiveRecord::Migration
	def self.up
		create_table :creds do |t|
			t.integer   :service_id, :null => false
			t.timestamps 
			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

110 entries across 110 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.5 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.24.4 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.24.3 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.24.2 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.24.1.pre.rspec.pre.3.pre.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.24.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.24.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.3.pre.autoload db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.2 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.2-java db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.1 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.1-java db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.0 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.23.0-java db/migrate/026_add_creds_table.rb
metasploit_data_models-0.22.8 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.22.8-java db/migrate/026_add_creds_table.rb
metasploit_data_models-0.22.7 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.22.7-java db/migrate/026_add_creds_table.rb
metasploit_data_models-0.22.6 db/migrate/026_add_creds_table.rb
metasploit_data_models-0.22.6-java db/migrate/026_add_creds_table.rb