From 54d9eb375a89a6bfedfac838485bb1ce1fd4238e Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Wed, 8 Apr 2015 21:51:05 -0300 Subject: [PATCH] Add settings field for comments. Now it will be possible to use acts_as_having_fields for comments --- db/migrate/20150408231524_add_settings_to_comments.rb | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) create mode 100644 db/migrate/20150408231524_add_settings_to_comments.rb diff --git a/db/migrate/20150408231524_add_settings_to_comments.rb b/db/migrate/20150408231524_add_settings_to_comments.rb new file mode 100644 index 0000000..f2163e8 --- /dev/null +++ b/db/migrate/20150408231524_add_settings_to_comments.rb @@ -0,0 +1,5 @@ +class AddSettingsToComments < ActiveRecord::Migration + def change + add_column :comments, :settings, :text + end +end -- libgit2 0.21.2