hide_reviewed_at -> confirmed_hide_at

This commit is contained in:
kikito
2015-08-27 12:23:10 +02:00
parent cd982768f2
commit 4ab5ab722e
3 changed files with 11 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
class AddConfirmedHideAtToCommentsAndDebates < ActiveRecord::Migration
def change
add_column :debates, :confirmed_hide_at, :datetime
add_column :comments, :confirmed_hide_at, :datetime
end
end

View File

@@ -1,6 +1,6 @@
class AddHideReviewedAtToCommentsAndDebates < ActiveRecord::Migration
class AddConfirmedHideAtToCommentsAndDebates < ActiveRecord::Migration
def change
add_column :debates, :hide_reviewed_at, :datetime
add_column :comments, :hide_reviewed_at, :datetime
add_column :debates, :confirmed_hide_at, :datetime
add_column :comments, :confirmed_hide_at, :datetime
end
end