diff --git a/server/handlers/upgrade_test.go b/server/handlers/upgrade_test.go index 23089ec..7d1c1ea 100644 --- a/server/handlers/upgrade_test.go +++ b/server/handlers/upgrade_test.go @@ -236,8 +236,9 @@ func TestUpgrade_SchemaMultiColumnAdd(t *testing.T) { } // Verify new row can use all columns + // Use 'true' for bool — works on both Postgres (BOOLEAN) and SQLite (INTEGER, coerced to 1) _, err = database.TestDB.ExecContext(ctx, - fmt.Sprintf("INSERT INTO %s (id, name, priority, score, active) VALUES ('r2', 'new', 3, 4.5, 1)", physical)) + fmt.Sprintf("INSERT INTO %s (id, name, priority, score, active) VALUES ('r2', 'new', 3, 4.5, true)", physical)) if err != nil { t.Fatal("insert with new columns failed:", err) }