Sha256: 8432e0dc169ccb8b95cac61bcc0c18d67143857916b1d1996087cd10afb59948

Contents?: true

Size: 271 Bytes

Versions: 44

Compression:

Stored size: 271 Bytes

Contents

class AddMacrosTable < ActiveRecord::Migration
	def self.up
		create_table :macros do |t|
			t.timestamps null: false
			t.text :owner
			t.text :name
			t.text :description
			t.binary :actions
			t.binary :prefs
		end
	end
	def self.down
		drop_table :macros
	end
end

Version data entries

44 entries across 44 versions & 1 rubygems

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