Skip to content

feat: isolate Postgres schema#1075

Draft
gavinelder wants to merge 1 commit into
masterfrom
feat/dedicated-postgres-schema
Draft

feat: isolate Postgres schema#1075
gavinelder wants to merge 1 commit into
masterfrom
feat/dedicated-postgres-schema

Conversation

@gavinelder

Copy link
Copy Markdown
Contributor

Summary

  • add wave.db.schema / WAVE_DB_SCHEMA and route Postgres connections to the configured schema
  • add startup guard to fail fast when legacy public.wave_* tables remain
  • add operator-run public-to-schema migration script and migration docs
  • update install docs/env templates for dedicated schema setup
  • add Postgres schema service tests for default/custom schemas, invalid schema, and legacy-public guard

Verification

  • ./gradlew testClasses
  • git diff --check

Notes

The targeted Testcontainers Postgres test could not be completed in the earlier local run because Docker was not available in that environment; the test coverage is included for CI.

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