aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cln_schema.sql
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-18 07:41:21 -0700
committerAdam Soltys <[email protected]>2026-06-18 08:27:11 -0700
commitfbf0c4f45249875b0b95eeb1beedd811b176a245 (patch)
tree9f46283758b23e973ba7fd6f0bc1dd15f1cd8083 /scripts/cln_schema.sql
parent290acb73beff82762572d6eb69c6297bf7d88af7 (diff)
downloadcoinos-server-fbf0c4f45249875b0b95eeb1beedd811b176a245.tar.gz
coinos-server-fbf0c4f45249875b0b95eeb1beedd811b176a245.zip
scripts: add dedup-invoices cleanup for already-duplicated :invoices
The source fix (LPOS guard in generate()) stops NEW duplicate entries but doesn't remove the ones already accumulated. This one-time script scrubs them: scans every <id>:invoices list and removes duplicate ids, keeping each id's original creation-order position. Dry-run by default; pass --apply to write. Idempotent. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'scripts/cln_schema.sql')
0 files changed, 0 insertions, 0 deletions