mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 04:06:42 +00:00
db:migrate took about 24 s on every deploy. After a successful run the deploy stamps the web container's image id as the comment of public.schema_migrations; a deploy whose image matches the stamp skips the migration, a new image, a failed run or a recreated database migrates. The stamp is read unmasked because masking short config values would corrupt a hex image id, and written through a DO/format() block because sqlfluff cannot parse COMMENT ON ... IS with a placeholder. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>