Undefined column 'boomarks.post_id' after update

Faced the same issue while updating today. Adding back the post_id column helped fix it.

Steps:

  1. enter the discourse container
./launcher enter app
  1. Enter psql
sudo -u postgres psql discourse
  1. Add back the post_id column in the bookmarks table
ALTER TABLE bookmarks ADD COLUMN post_id int;
2 Likes