Prepare verified laboratory 7 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 20afc2c790
commit eb1b5c7b84
677 changed files with 208256 additions and 64 deletions
@@ -0,0 +1,8 @@
-- +goose Up
-- Historical upload/create time is not evidence of acceptance/readiness; leave
-- pre-migration rows unknown instead of inventing SLO history.
ALTER TABLE attachments ADD COLUMN accepted_at timestamptz, ADD COLUMN first_ready_at timestamptz;
CREATE INDEX attachments_slo_accepted ON attachments(accepted_at) WHERE accepted_at IS NOT NULL;
-- +goose Down
DROP INDEX attachments_slo_accepted;
ALTER TABLE attachments DROP COLUMN accepted_at, DROP COLUMN first_ready_at;