Harden CI and switch release builds to tagged immutable images
All checks were successful
CI / Backend (push) Successful in 29s
CI / Frontend (push) Successful in 9m27s
CI / Contracts and repository policy (push) Successful in 7s
CI / Container (push) Successful in 18s

This commit is contained in:
Elijah 2026-07-15 19:21:07 -07:00
parent bed2e6cfb6
commit f24e96efa7
60 changed files with 4710 additions and 64 deletions

View file

@ -0,0 +1,10 @@
-- Drive v2 uses forward-only migrations. Rollback is restore-or-fix-forward.
CREATE EXTENSION IF NOT EXISTS pg_trgm;
CREATE TABLE drive_metadata (
singleton BOOLEAN PRIMARY KEY DEFAULT TRUE CHECK (singleton),
installed_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
INSERT INTO drive_metadata (singleton) VALUES (TRUE);

3
db/queries/health.sql Normal file
View file

@ -0,0 +1,3 @@
-- name: DatabaseHealth :one
SELECT 1::BIGINT AS result;