stacker.news/prisma/migrations/20240111203534_territory_na.../migration.sql

6 lines
232 B
MySQL
Raw Normal View History

2024-01-11 23:45:17 +00:00
-- DropForeignKey
ALTER TABLE "Item" DROP CONSTRAINT "Item_subName_fkey";
-- AddForeignKey
ALTER TABLE "Item" ADD CONSTRAINT "Item_subName_fkey" FOREIGN KEY ("subName") REFERENCES "Sub"("name") ON DELETE CASCADE ON UPDATE CASCADE;