Sha256: 268cd903c14803287aec750256f49dbcc2026a1f49b762d70afb318e106a61dd

Contents?: true

Size: 335 Bytes

Versions: 110

Compression:

Stored size: 335 Bytes

Contents

class AddReports < ActiveRecord::Migration

	def self.up
		create_table :reports do |t|
			t.integer   :workspace_id, :null => false, :default => 1
			t.string    :created_by
			t.string    :rtype
			t.string    :path, :limit  => 1024
			t.text      :options
			t.timestamps
		end
	end

	def self.down
		drop_table :reports
	end

end

Version data entries

110 entries across 110 versions & 1 rubygems

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