Open source CapCut alternative.
TypeScript
/*
Warnings:
- A unique constraint covering the columns `[stripeCustomerId]` on the table `user` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "credit_auto_reload" ADD COLUMN "chargingPaymentIntentId" TEXT;
-- AlterTable
ALTER TABLE "user" ADD COLUMN "stripeCustomerId" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "user_stripeCustomerId_key" ON "user"("stripeCustomerId");