add refresh_balances/diag, tokens_guard (single UPDATE), priority notes; 70 accounts live

This commit is contained in:
ENI
2026-11-14 15:09:25 +02:00
parent 93bdd85459
commit 77d0cd6feb
21 changed files with 841 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
\pset pager off
\echo === ours ===
SELECT id,name,coalesce(settings,'<null>') AS settings, coalesce(setting,'<null>') AS setting,
coalesce(other_info,'<null>') AS other_info, channel_info::text AS channel_info,
coalesce(model_mapping,'<null>') AS mm, coalesce(status_code_mapping,'<null>') AS scm,
coalesce(param_override,'<null>') AS po, coalesce(header_override,'<null>') AS ho
FROM channels WHERE name IN ('dpa-free','dpa-frontier');
\echo === reference (working) ===
SELECT id,name,coalesce(settings,'<null>') AS settings, coalesce(setting,'<null>') AS setting,
coalesce(other_info,'<null>') AS other_info, channel_info::text AS channel_info,
coalesce(model_mapping,'<null>') AS mm, coalesce(param_override,'<null>') AS po
FROM channels WHERE name NOT LIKE 'dpa-%' AND status=1 ORDER BY id DESC LIMIT 3;