تم حذف المنشور ويظهر كمخفي في الموضوع، ولم يتم تعليمه كمخفي أو محسوب كمحذوف في قاعدة البيانات

I am working on metrics and doing some crosscheck to make sure that my data is correct. I was looking at a specific post that I deleted and it shows as hidden in the topic view:

image

but in the database the hidden field is false and the deleted_at field is NULL.

Is this a bug or should I be looking at some other field / somewhere else?

The hidden field won’t necessarily be set, but the deleted_at field should be set. Are you sure you’re looking at the right post? Through the rails console you’ll need to search with something like Post.with_deleted.where("topic_id = ? AND deleted_at IS NOT NULL", your_topic_id)

إعجابَين (2)

So it’s a bit weird - I just checked back and that post is now deleted in the db… Not sure why it took awhile to refresh but we’re good.

إعجاب واحد (1)

This topic was automatically closed after 2286 days. New replies are no longer allowed.