mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
fd89f4e6cd
git-svn-id: file:///home/svn/framework3/trunk@8104 4d416f70-5f16-0410-b530-b9f4589650da
17 lines
290 B
Ruby
17 lines
290 B
Ruby
class AddEventsTable < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :events do |t|
|
|
t.integer :workspace_id
|
|
t.integer :host_id
|
|
t.timestamp :created_at
|
|
t.string :user
|
|
t.string :name
|
|
t.string :info
|
|
end
|
|
end
|
|
def self.down
|
|
drop_table :events
|
|
end
|
|
end
|
|
|