SELECT account_id
FROM accounts
WHERE NOT normalized AND total = 1
(let ((filename "~/git/normalize_account_tags/production/01-single-tag-accounts"))
(with-temp-file filename
(insert (s-join "\n" (-map #'first accounts))))
filename)
/correlr/roam/src/commit/ee397416e767181e2c5a3acf8572917559c7df85/daily/~/git/normalize_account_tags/production/01-single-tag-accounts
########################################
### COMPLETED 473/473 (0 remaining)
### ELAPSED: 02:21:49
### ESTIMATED REMAINING: 00:00:00
########################################
UPDATE accounts
SET normalized = TRUE
WHERE NOT normalized AND total = 1