forked from retoor/devplacepy
notifications was filtered and indexed on user_uid and read without an ensure-block, so a partial first insert could create it with a reduced schema. The block mirrors the messages one and the table joins FILTERED_COLUMNS. idx_notifications_user_read already serves the unread count the push payload now reads. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>