roam/daily/2022-06-03.org
2022-06-08 16:50:50 -04:00

1.1 KiB

2022-06-03

Normalizing tags in production

  SELECT COUNT(*)
  FROM accounts
  WHERE NOT normalized
Find the next set of least affected accounts
count
27
  SELECT account_id
  FROM accounts
  WHERE NOT normalized ORDER BY total
  (let ((filename "~/git/normalize_account_tags/production/12-top-accounts"))
    (with-temp-file filename
      (insert (s-join "\n" (-map #'car accounts))))
    filename)

/correlr/roam/src/commit/74f9662c68a18cb61a62c96cb8b429c38f16d2f8/daily/~/git/normalize_account_tags/production/12-top-accounts