From 42348511e15d950cbd468adfd300b62c6c849b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Mon, 24 Aug 2015 17:22:21 +0200 Subject: [PATCH] adds moderator_id to comments --- db/migrate/20150824111844_add_moderator_id_to_comment.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20150824111844_add_moderator_id_to_comment.rb diff --git a/db/migrate/20150824111844_add_moderator_id_to_comment.rb b/db/migrate/20150824111844_add_moderator_id_to_comment.rb new file mode 100644 index 000000000..014c3ecf3 --- /dev/null +++ b/db/migrate/20150824111844_add_moderator_id_to_comment.rb @@ -0,0 +1,5 @@ +class AddModeratorIdToComment < ActiveRecord::Migration + def change + add_column :comments, :moderator_id, :integer, default: nil + end +end