feat(supabase): add draft_last_save to the sheet admin read (M8, sandbox only)

This commit is contained in:
bchanot committed 2026-11-04 11:40:22 +01:00
1 parent 2571978780
commit 2f824a947c
7 files changed
+269 -2

No files matched your search

+2 -1
View File
@@ -5,7 +5,7 @@ import { migrationsDir } from './db/harness'
/**
* The closed failure kinds of the sheet workflow (V1-2.1). The census reads
* every closed code M4, M5 and M7 raise (`raise exception '<code>'`, a lowercase
* every closed code M4, M5, M7 and M8 raise (`raise exception '<code>'`, a lowercase
* dotted word; free-text messages are not codes) so a code added on the server
* can never reach a page as `unavailable` for want of a kind.
*/
@@ -13,6 +13,7 @@ const SHEET_MIGRATIONS = [
'20261028100000_sheet_access_hardening.sql',
'20261028110000_sheet_review_workflow.sql',
'20261102100000_sheet_admin_reads.sql',
'20261103100000_sheet_draft_last_save.sql',
]
async function raisedCodes(): Promise<string[]> {