retroactively denormalize earned msats to items/comments

This commit is contained in:
keyan 2023-05-09 14:06:05 -05:00
parent 80968d7b35
commit 6050041d39
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
SELECT sats_after_tip("Earn"."typeId", NULL, "Earn".msats)
FROM "Earn"
WHERE type = 'POST' OR type = 'COMMENT';