Sha256: 594c3426bad2d12e75af95cd229c521d9611e563c0d035f7a97b964bff3d2745

Contents?: true

Size: 455 Bytes

Versions: 110

Compression:

Stored size: 455 Bytes

Contents

class AddTasks < ActiveRecord::Migration

	def self.up
		create_table :tasks do |t|
			t.integer   :workspace_id, :null => false, :default => 1
			t.string    :created_by
			t.string    :module
			t.datetime  :completed_at
			t.string    :path, :limit  => 1024
			t.string    :info
			t.string    :description
			t.integer   :progress
			t.text      :options
			t.text      :error
			t.timestamps
		end
	end

	def self.down
		drop_table :tasks
	end

end

Version data entries

110 entries across 110 versions & 1 rubygems

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