Sha256: d8ec0b0f5f1e22acff0229a5a7bb57a56ceea7c7980f2e0343459b1317345e08

Contents?: true

Size: 495 Bytes

Versions: 22

Compression:

Stored size: 495 Bytes

Contents

class AddWorkspaceUserInfo < ActiveRecord::Migration[4.2]
	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

22 entries across 22 versions & 2 rubygems

Version Path
metasploit_data_models-4.0.1 db/migrate/018_add_workspace_user_info.rb
metasploit_data_models-4.0.0 db/migrate/018_add_workspace_user_info.rb