Skip to content

board disappered upgrading with postgres error boards.isArchived #424

@clemenko

Description

@clemenko

🐛 Bug Report

Describe the bug
After upgrading from sha256:74dd5222f289800a6916d2b9387da4af32b00932e2b3b82e9d25cf349b3daab3 to "latest" my board has disappeared. I am seeing the following log in postgres

2026-02-28 16:15:25.740 UTC [192] ERROR:  column boards.isArchived does not exist at character 1212
2026-02-28 16:15:25.740 UTC [192] STATEMENT:  select "boards"."publicId", "boards"."name", "boards_userFavorites"."data" as "userFavorites", "boards_lists"."data" as "lists", "boards_labels"."data" as "labels" from "board" "boards" left join lateral (select coalesce(json_agg(json_build_array("boards_userFavorites"."userId")), '[]'::json) as "data" from "user_board_favorites" "boards_userFavorites" where ("boards_userFavorites"."boardId" = "boards"."id" and "boards_userFavorites"."userId" = $1)) "boards_userFavorites" on true left join lateral (select coalesce(json_agg(json_build_array("boards_lists"."publicId", "boards_lists"."name", "boards_lists"."index") order by "boards_lists"."index" asc), '[]'::json) as "data" from (select * from "list" "boards_lists" where "boards_lists"."boardId" = "boards"."id" order by "boards_lists"."index" asc) "boards_lists") "boards_lists" on true left join lateral (select coalesce(json_agg(json_build_array("boards_labels"."publicId", "boards_labels"."name", "boards_labels"."colourCode")), '[]'::json) as "data" from "label" "boards_labels" where "boards_labels"."boardId" = "boards"."id") "boards_labels" on true where ("boards"."workspaceId" = $2 and "boards"."deletedAt" is null and "boards"."type" = $3 and "boards"."isArchived" = $4)

To Reproduce
Steps to reproduce the behavior:

install from the sha, create a board, update the image to latest.

Expected behavior
it just work.

Environment (please complete the following information):

  • OS: [e.g. macOS, Windows, Linux]
  • Browser [e.g. chrome, safari]
  • Node version [e.g. 20]
  • App version/commit [if applicable]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions