-- Bench import compliance log. The import command (cmd/import-bench) writes one row per committed -- record with the operator provided legal basis. Tenant scoped under RLS (an org sees only its own). -- name: InsertBenchImportLog :exec INSERT INTO bench_import_log (organization_id, candidate_id, source, file_or_batch, legal_basis) VALUES ($1, $2, $3, $4, $5);