1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Rename user to username

git-svn-id: file:///home/svn/framework3/trunk@8838 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2010-03-17 14:03:25 +00:00
parent efceaa84cf
commit 8e058e40cb

View File

@ -0,0 +1,16 @@
class RenameUser < ActiveRecord::Migration
def self.up
remove_column :events, :user
change_table :events do |t|
t.string :username
end
end
def self.down
remove_column :events, :username
change_table :events do |t|
t.string :user
end
end
end