mirror of
https://github.com/azaion/admin.git
synced 2026-06-21 14:21:09 +00:00
43fe38e67d
The test-db postgres image only executes /docker-entrypoint-initdb.d on a fresh data directory. Reusing the volume from a prior run silently skipped new schema migrations (e.g. 04_detection_classes.sql, 05_resources.sql), producing phantom "relation does not exist" failures on the second and subsequent runs. Always start with a clean state. Verified: two consecutive runs both green (48/48 e2e). Co-authored-by: Cursor <cursoragent@cursor.com>