Sha256: e54ac585a1f093fcb9735e87d0ea8d49b240118c3b024d4305019ccc5202bdae

Contents?: true

Size: 377 Bytes

Versions: 44

Compression:

Stored size: 377 Bytes

Contents

class AddLoots < ActiveRecord::Migration

	def self.up
		create_table :loots do |t|
			t.integer   :workspace_id, :null => false, :default => 1
			t.integer   :host_id
			t.integer   :service_id
			t.string    :ltype, :limit => 512
			t.string    :path, :limit  => 1024
			t.text      :data
			t.timestamps null: false
		end
	end

	def self.down
		drop_table :loots
	end

end

Version data entries

44 entries across 44 versions & 1 rubygems

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