implement paywall #161

Merged
talksik merged 19 commits from paywall into master 2026-04-14 22:18:32 +00:00
2 changed files with 8 additions and 0 deletions
Showing only changes of commit bc98b58f84 - Show all commits
@@ -1,2 +1,6 @@
BEGIN;
DROP TABLE IF EXISTS network_subscriptions;
DROP TABLE IF EXISTS network_stripe_customers;
COMMIT;
@@ -1,3 +1,5 @@
BEGIN;
CREATE TABLE network_stripe_customers (
network_id TEXT PRIMARY KEY,
stripe_customer_id TEXT NOT NULL UNIQUE,
@@ -22,3 +24,5 @@ CREATE TABLE network_subscriptions (
CREATE UNIQUE INDEX idx_network_subscriptions_network_id
ON network_subscriptions (network_id);
COMMIT;