Sha256: 7ddd9e023f8260325414357f3017dc588376754d4ca2c99a5e4e73ce0f9cc12b

Contents?: true

Size: 352 Bytes

Versions: 22

Compression:

Stored size: 352 Bytes

Contents

class AddReports < ActiveRecord::Migration[4.2]

	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 null: false
		end
	end

	def self.down
		drop_table :reports
	end

end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 db/migrate/011_add_reports.rb
metasploit_data_models-6.0.5 db/migrate/011_add_reports.rb
metasploit_data_models-6.0.4 db/migrate/011_add_reports.rb
metasploit_data_models-6.0.3 db/migrate/011_add_reports.rb
metasploit_data_models-6.0.2 db/migrate/011_add_reports.rb
metasploit_data_models-6.0.1 db/migrate/011_add_reports.rb
metasploit_data_models-6.0.0 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.6 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.5 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.4 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.3 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.2 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.1 db/migrate/011_add_reports.rb
metasploit_data_models-5.0.0 db/migrate/011_add_reports.rb
metasploit_data_models-4.1.4 db/migrate/011_add_reports.rb
metasploit_data_models-4.1.3 db/migrate/011_add_reports.rb
metasploit_data_models-4.1.2 db/migrate/011_add_reports.rb
metasploit_data_models-4.1.1 db/migrate/011_add_reports.rb
metasploit_data_models-4.1.0 db/migrate/011_add_reports.rb
metasploit_data_models-4.0.2 db/migrate/011_add_reports.rb