Ship free-tier watermark policy (2 clean renders) and align pricing/legal copy.

This commit is contained in:
Atakan Doğan Özban
2026-08-03 07:41:11 +02:00
parent 605487db0f
commit 5bc39d0692
17 changed files with 346 additions and 34 deletions
@@ -0,0 +1,10 @@
-- AlterEnum
CREATE TYPE "SubscriptionStatus" AS ENUM ('free', 'pro');
-- AlterTable
ALTER TABLE "User" ADD COLUMN "subscriptionStatus" "SubscriptionStatus" NOT NULL DEFAULT 'free';
ALTER TABLE "User" ADD COLUMN "createdVideoCount" INTEGER NOT NULL DEFAULT 0;
-- Backfill from existing Plan
UPDATE "User" SET "subscriptionStatus" = 'pro' WHERE "plan" = 'PREMIUM';
UPDATE "User" SET "subscriptionStatus" = 'free' WHERE "plan" = 'FREE';