stacker.news/prisma/migrations/20230509190222_earn_add_ret.../migration.sql

3 lines
111 B
MySQL
Raw Normal View History

SELECT sats_after_tip("Earn"."typeId", NULL, "Earn".msats)
FROM "Earn"
WHERE type = 'POST' OR type = 'COMMENT';