今天更新时遇到了同样的问题。重新添加 post_id 列有助于解决此问题。
步骤:
- 进入 discourse 容器
./launcher enter app
- 进入
psql
sudo -u postgres psql discourse
- 在
bookmarks表中重新添加post_id列
ALTER TABLE bookmarks ADD COLUMN post_id int;
今天更新时遇到了同样的问题。重新添加 post_id 列有助于解决此问题。
步骤:
./launcher enter app
psqlsudo -u postgres psql discourse
bookmarks 表中重新添加 post_id 列ALTER TABLE bookmarks ADD COLUMN post_id int;