From e3fd6e18d334c17ff315f4c3b6771177e7424d26 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Mon, 22 Mar 2010 00:08:17 +0000 Subject: [PATCH] Add a generic purpose field git-svn-id: file:///home/svn/framework3/trunk@8868 4d416f70-5f16-0410-b530-b9f4589650da --- data/sql/migrate/016_add_host_purpose.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/sql/migrate/016_add_host_purpose.rb diff --git a/data/sql/migrate/016_add_host_purpose.rb b/data/sql/migrate/016_add_host_purpose.rb new file mode 100644 index 0000000000..1e2827801e --- /dev/null +++ b/data/sql/migrate/016_add_host_purpose.rb @@ -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 +