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
+15
View File
@@ -0,0 +1,15 @@
\pset pager off
\echo === fix dpa channels ===
UPDATE channels
SET setting = NULL,
settings = NULL,
model_mapping = NULL,
status_code_mapping = NULL,
other_info = '{}'
WHERE name IN ('dpa-free','dpa-frontier');
\echo === verify ===
SELECT id, name, priority, status,
coalesce(setting,'<null>') AS setting, coalesce(settings,'<null>') AS settings,
coalesce(model_mapping,'<null>') AS mm, coalesce(status_code_mapping,'<null>') AS scm
FROM channels WHERE name IN ('dpa-free','dpa-frontier');