Files
metasploit-gs/data/sql/migrate/018_add_workspace_user_info.rb
T
Mike Smith 86ac69b394 Add columns to workspaces & hosts tables.
git-svn-id: file:///home/svn/framework3/trunk@8956 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-29 22:26:35 +00:00

30 lines
490 B
Ruby

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