roam/daily/2022-05-24.org
2022-05-27 17:35:29 -04:00

2 KiB

2022-05-24

Normalizing tags in production

Completing yesterday's set

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

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

Next set

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

/correlr/roam/src/commit/fd6295fed363a911cee7c5fed27dfec2ed6ee4f6/daily/~/git/normalize_account_tags/production/05-less-than-equal-to-one-hundred