6 lines
249 B
SQL
6 lines
249 B
SQL
-- DropForeignKey
|
|
ALTER TABLE "FrontpageId" DROP CONSTRAINT "FrontpageId_id_fkey";
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "FrontpageId" ADD CONSTRAINT "FrontpageId_id_fkey" FOREIGN KEY ("id") REFERENCES "questions"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|