Sha256: 70222c7d4213588b27503bb32a66135361598a41a1cc7d51aa2442f1b1eb5bf8

Contents?: true

Size: 490 Bytes

Versions: 154

Compression:

Stored size: 490 Bytes

Contents

class AddWorkspaceUserInfo < ActiveRecord::Migration
	def self.up
		change_table :workspaces do |t|
			t.string :boundary, :limit => 4096
		end

		change_table :users do |t|
			t.string :fullname
			t.string :email
			t.string :phone
            t.string :company
		end
	end

	def self.down
		change_table :workspaces do |t|
			t.remove :boundary
		end

		change_table :users do |t|
			t.remove :fullname
			t.remove :email
			t.remove :phone
            t.remove :company
		end
	end

end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-3.0.10 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.9 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.8 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.7 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.6 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.5 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.17 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.4 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.2 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.1 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-3.0.0 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.16 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.15 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.14 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.13 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.12 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.11 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.10 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.9 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-2.0.8 db/migrate/018_add_workspace_user_info.rb