Skip to content

A platform for community discussion. Free, open, simple.

FIX: Migrated flags should be reviewable by moderators

Robin Ward9c2e6b9a54b5
diff --git a/db/migrate/20190130163001_migrate_reviewable_flagged_posts.rb b/db/migrate/20190130163001_migrate_reviewable_flagged_posts.rb
index 34dfd894b6a..c3b98b2dedd 100644
--- a/db/migrate/20190130163001_migrate_reviewable_flagged_posts.rb
+++ b/db/migrate/20190130163001_migrate_reviewable_flagged_posts.rb
@@ -8,6 +8,7 @@ class MigrateReviewableFlaggedPosts < ActiveRecord::Migration[5.2]
type,
status,
topic_id,
+ reviewable_by_moderator,
category_id,
payload,
target_type,
@@ -27,6 +28,7 @@ class MigrateReviewableFlaggedPosts < ActiveRecord::Migration[5.2]
ELSE 0
END,
t.id,
+ true,
t.category_id,
json_build_object(),
'Post',