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.16.4 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.16.3-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.16.1-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.16.1 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.16.0-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.16.0 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.15.2-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.15.2 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.15.1-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.15.1 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.15.0 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.4-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.4 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.3-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.3 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.2-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.2 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.1-java db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.14.1 db/migrate/20110624000001_add_listeners_table.rb
metasploit_data_models-0.12.1-java db/migrate/20110624000001_add_listeners_table.rb