Add a generic purpose field

git-svn-id: file:///home/svn/framework3/trunk@8868 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-03-22 00:08:17 +00:00
parent 25f9458c86
commit e3fd6e18d3
1 changed files with 10 additions and 0 deletions

View File

@ -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