Skip to content

fix: initdb shouldn't CREATE EXTENSION beyond_auth#6

Merged
jaredLunde merged 1 commit into
mainfrom
fix/initdb-no-create-ext
Jun 21, 2026
Merged

fix: initdb shouldn't CREATE EXTENSION beyond_auth#6
jaredLunde merged 1 commit into
mainfrom
fix/initdb-no-create-ext

Conversation

@jaredLunde

Copy link
Copy Markdown
Contributor

The auth server creates beyond_auth in its own migration; pre-creating it in initdb breaks that migration (function authz_check already exists). initdb now just creates the auth+queue schemas. Verified the real beyond-auth image migrates cleanly. 🤖 Generated with Claude Code

The auth server creates the extension in its own migration; pre-creating it in
initdb makes that migration fail with 'function authz_check already exists'.
initdb just creates the auth + queue schemas (the auth server manages the rest).

Verified: the real beyond-auth image runs migrations cleanly + listens.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jaredLunde jaredLunde merged commit afc3576 into main Jun 21, 2026
1 check passed
@jaredLunde jaredLunde deleted the fix/initdb-no-create-ext branch June 21, 2026 04:17
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