Skip to content

Open source CapCut alternative.

TypeScript

chore(site): add the multi-answer referral migration

David Lefd1becf7b3c3
diff --git a/site/prisma/migrations/20260729083402/migration.sql b/site/prisma/migrations/20260729083402/migration.sql
new file mode 100644
index 00000000..7b302cb5
--- /dev/null
+++ b/site/prisma/migrations/20260729083402/migration.sql
@@ -0,0 +1,11 @@
+/*
+ Warnings:
+
+ - You are about to drop the column `referralDetail` on the `UserOnboarding` table. All the data in the column will be lost.
+ - You are about to drop the column `referralSource` on the `UserOnboarding` table. All the data in the column will be lost.
+
+*/
+-- AlterTable
+ALTER TABLE "UserOnboarding" DROP COLUMN "referralDetail",
+DROP COLUMN "referralSource",
+ADD COLUMN "referralSources" TEXT[] DEFAULT ARRAY[]::TEXT[];