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

This commit is contained in:
2026-04-11 17:28:58 +05:45
parent 2bdd4280d5
commit b773796743
4 changed files with 166 additions and 65 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
);