From 944b201882046caa05d9caac4ba8aae623fab2a4 Mon Sep 17 00:00:00 2001 From: Evandro Jr Date: Thu, 17 Jul 2014 16:13:07 -0300 Subject: [PATCH] Added migrate --- db/migrate/20140505190748_add_setting_to_comments.rb | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) create mode 100644 db/migrate/20140505190748_add_setting_to_comments.rb diff --git a/db/migrate/20140505190748_add_setting_to_comments.rb b/db/migrate/20140505190748_add_setting_to_comments.rb new file mode 100644 index 0000000..61bf704 --- /dev/null +++ b/db/migrate/20140505190748_add_setting_to_comments.rb @@ -0,0 +1,9 @@ +class AddSettingToComments < ActiveRecord::Migration + def self.up + add_column :comments, :setting, :text + end + + def self.down + remove_column :comments, :setting + end +end -- libgit2 0.21.2