Sha256: df1fa415db5084000fd46212c62923e81610c9b38473fc9f058bae51af468b50

Contents?: true

Size: 387 Bytes

Versions: 110

Compression:

Stored size: 387 Bytes

Contents

class AddListenersTable < ActiveRecord::Migration
	def self.up
		create_table :listeners do |t|
			t.timestamps
			t.integer :workspace_id, :null => false, :default => 1
			t.integer :task_id
			t.boolean :enabled, :default => true
			t.text :owner
			t.text :payload
			t.text :address
			t.integer :port
			t.binary :options
		end
	end
	def self.down
		drop_table :listeners
	end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
metasploit_data_models-0.22.5 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.5-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.4 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.4-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.3 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.3-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.2 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.2-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.1 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.22.1-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.3 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.3-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.2 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.2-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.1 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.0 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.0-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.21.0.pre.engine.pre.requires db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.20.1.pre.recog db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.20.1-java db/migrate/20110624000001_add_listeners_table.rb