Files
quicklanch-server/prisma/migrations/20260406153500_init/migration.sql
T
Md Sharafat Hassain bcdb125af1 adding the plan post api
2026-04-07 22:32:13 +06:00

9 lines
347 B
SQL

-- DropForeignKey
ALTER TABLE "Account" DROP CONSTRAINT "Account_subscriptionId_fkey";
-- AlterTable
ALTER TABLE "Account" ALTER COLUMN "subscriptionId" DROP NOT NULL;
-- AddForeignKey
ALTER TABLE "Account" ADD CONSTRAINT "Account_subscriptionId_fkey" FOREIGN KEY ("subscriptionId") REFERENCES "Plan"("id") ON DELETE SET NULL ON UPDATE CASCADE;