Skip to content

release: v0.2.6 - #94

Merged
an1ndra merged 1 commit into
mainfrom
Develop
Nov 22, 2026
Merged

an1ndra merged 1 commit into
mainfrom
Develop

Conversation

@an1ndra

@an1ndra an1ndra commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Fixes the v0.2.5 migration.

V21 listed every CHECK constraint on providers and dropped it. Postgres 16 also reports NOT NULL as a CHECK in information_schema.table_constraints, with a synthesized name like 2200_16395_1_not_null that cannot be dropped, so the migration failed, Flyway rolled it back, and the gateway crashed into the same failure on every restart.

V21 now joins information_schema.check_constraints and drops only the constraint whose clause mentions OPENAI. The synthetic NOT NULL rows do not appear in that view on Postgres, so the join excludes them before the clause filter.

The failed migration was rolled back, so deploying v0.2.6 runs the corrected V21 on boot with no manual database step.

V21 listed every CHECK constraint on providers and dropped it. Postgres 16
also reports NOT NULL as a CHECK with a synthesized name that cannot be
dropped, so the migration failed, rolled back, and the gateway
crash-looped. Join check_constraints and keep only the clause that
mentions OPENAI.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@an1ndra
an1ndra merged commit 395d705 into main Nov 22, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant