FIX: Approved should not be assumed in the migration
This commit is contained in:
parent
d9eed924f5
commit
fdaf17ec7c
|
@ -28,7 +28,8 @@ class CreateReviewableHistories < ActiveRecord::Migration[5.2]
|
|||
r.created_at,
|
||||
r.created_at
|
||||
FROM reviewables AS r
|
||||
WHERE r.type = 'ReviewableUser'
|
||||
WHERE r.status = 0
|
||||
AND r.type = 'ReviewableUser'
|
||||
SQL
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue