dragonflight/services/mam-api/src/db
Zac Gaetano 64bbb221f7 fix(api): parse Postgres bigint (int8) as Number, not string
duration_ms/file_size are int8; node-postgres returned them as strings,
a footgun for any consumer doing arithmetic/sorting/comparison (already
hand-patched once in playout totals). Register a global int8 type parser
so the API emits real numbers. All such values are < 2^53 (no precision loss).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 21:47:45 -04:00
..
migrations feat(playout): redesigned MCR screen + SCTE-35 end-to-end 2026-05-31 19:58:02 -04:00
pool.js fix(api): parse Postgres bigint (int8) as Number, not string 2026-05-31 21:47:45 -04:00
schema.sql feat(capture): Deltacast SDI framework — test-card capture, cluster detection, UI 2026-05-28 23:12:40 +00:00
schema_patch_ampp.sql feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: schema_patch_ampp.sql 2026-04-18 13:42:07 -04:00
schema_patch_editor.sql fix(db): use DO blocks for idempotent ALTER TABLE (ADD CONSTRAINT IF NOT EXISTS is not valid PG syntax) 2026-05-18 19:48:11 -04:00
schema_patch_groups_tokens.sql feat(mam-api): add groups and API tokens schema patch 2026-05-18 12:45:06 -04:00