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

1.1 KiB

2022-05-23

Normalizing tags in production

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

/correlr/roam/src/commit/fedd4369b1efede815cc527c167ed4dc7553043d/daily/~/git/normalize_account_tags/production/03-less-than-equal-to-fifty