Commit 7c27c34

Eric Bower  ·  2026-04-17 22:18:24 -0400 EDT
parent 9165d1d
chore: scripts
1 files changed,  +13, -0
+13, -0
......@@ -18,3 +18,16 @@ select
1818 from app_users
1919 group by month
2020 order by month DESC;
21+
22+select
23+ count(id) as subs,
24+ date_trunc('month', created_at) as month
25+from feature_flags
26+where name = 'plus' and expires_at > now()
27+group by month
28+order by month DESC;
29+
30+select
31+ count(*) as total_subs
32+from feature_flags
33+where name = 'plus' and expires_at > now();