[Bug] PostgreSQL Migration 1.9.0 fails: column "online" is of type integer but default expression is of type boolean #1018

Closed
opened 2026-04-05 18:07:28 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Blacks-Army on 8/25/2025

Hi,
when running the 1.9.0 migration, the following error occurs:

Failed query: ALTER TABLE "exitNodes" ADD COLUMN "online" integer DEFAULT false NOT NULL;
error: column "online" is of type integer but default expression is of type boolean

Logs:

DrizzleQueryError: Failed query: ALTER TABLE "exitNodes" ADD COLUMN "online" integer DEFAULT false NOT NULL;
cause: error: column "online" is of type integer but default expression is of type boolean
code: '42804'

Expected behavior:
The migration should add the column successfully.

*Originally created by @Blacks-Army on 8/25/2025* Hi, when running the 1.9.0 migration, the following error occurs: ```yaml Failed query: ALTER TABLE "exitNodes" ADD COLUMN "online" integer DEFAULT false NOT NULL; error: column "online" is of type integer but default expression is of type boolean ``` Logs: ```yaml DrizzleQueryError: Failed query: ALTER TABLE "exitNodes" ADD COLUMN "online" integer DEFAULT false NOT NULL; cause: error: column "online" is of type integer but default expression is of type boolean code: '42804' ``` Expected behavior: The migration should add the column successfully.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1018