fix(billing): ensure all tenants have valid Stripe customer IDs

This commit is contained in:
2026-04-11 17:28:58 +05:45
parent 1d4034340b
commit a8d69dc915
4 changed files with 79 additions and 26 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS tenant (
nwc_url TEXT NOT NULL DEFAULT '',
nwc_error TEXT,
created_at INTEGER NOT NULL,
stripe_customer_id TEXT NOT NULL DEFAULT '',
stripe_customer_id TEXT NOT NULL,
stripe_subscription_id TEXT,
past_due_at INTEGER
);