We need to recreate the badge_posts view each time we change column on the posts table. The p.* is auto expanded on view create, cascade should not have been used
reply_id
automatic_membership_retroactive