adding the plan post api

This commit is contained in:
Md Sharafat Hassain
2026-04-07 22:32:13 +06:00
parent ba1b0df589
commit bcdb125af1
12 changed files with 345 additions and 1 deletions
@@ -0,0 +1,8 @@
-- 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;