Add a generic purpose field
git-svn-id: file:///home/svn/framework3/trunk@8868 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
25f9458c86
commit
e3fd6e18d3
|
@ -0,0 +1,10 @@
|
||||||
|
class AddHostPurpose < ActiveRecord::Migration
|
||||||
|
def self.up
|
||||||
|
add_column :hosts, :purpose, :text
|
||||||
|
end
|
||||||
|
|
||||||
|
def self.down
|
||||||
|
remove_column :hosts, :purpose
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue