roam/daily/2022-05-25.org
2022-05-27 17:35:02 -04:00

1.1 KiB

2022-05-25

Normalizing tags in production

  SELECT COUNT(*)
  FROM accounts
  WHERE NOT normalized AND total <= 500
Find the next set of least affected accounts
count
586
  SELECT account_id
  FROM accounts
  WHERE NOT normalized AND total <= 500
  (let ((filename "~/git/normalize_account_tags/production/06-less-than-equal-to-five-hundred"))
    (with-temp-file filename
      (insert (s-join "\n" (-map #'car accounts))))
    filename)

/correlr/roam/src/commit/ee397416e767181e2c5a3acf8572917559c7df85/daily/~/git/normalize_account_tags/production/06-less-than-equal-to-five-hundred