Mad loot
git-svn-id: file:///home/svn/framework3/trunk@8587 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
f8ca490b98
commit
091e01978e
|
@ -0,0 +1,20 @@
|
|||
class AddLoots < ActiveRecord::Migration
|
||||
|
||||
def self.up
|
||||
create_table :loots do |t|
|
||||
t.integer :workspace_id, :null => false, :default => 1
|
||||
t.integer :host_id
|
||||
t.integer :service_id
|
||||
t.string :ltype, :limit => 512
|
||||
t.string :path, :limit => 1024
|
||||
t.text :data
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :loots
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue