Sha256: 438d8443461432c5930c658b10da3cd76c01aa1abb59092334afd472ef9f3e31

Contents?: true

Size: 339 Bytes

Versions: 44

Compression:

Stored size: 339 Bytes

Contents

class AddReportTemplates < ActiveRecord::Migration

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

	def self.down
		drop_table :reports
	end

end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
metasploit_data_models-1.0.1 db/migrate/20100911122000_add_report_templates.rb
metasploit_data_models-1.0.0 db/migrate/20100911122000_add_report_templates.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0b db/migrate/20100911122000_add_report_templates.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0a db/migrate/20100911122000_add_report_templates.rb