Prepare verified laboratory 6 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 470d9d6f1e
commit 7d56e52fd0
335 changed files with 31206 additions and 72 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;