feat: stripe integration

This commit is contained in:
Vasily Zubarev
2025-04-24 15:27:44 +02:00
parent 38a5c0f814
commit abd5ad8403
31 changed files with 559 additions and 112 deletions

View File

@@ -0,0 +1,10 @@
/*
Warnings:
- You are about to drop the column `token_balance` on the `users` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "users" DROP COLUMN "token_balance",
ADD COLUMN "ai_balance" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN "stripe_customer_id" TEXT;