6 lines
244 B
MySQL
6 lines
244 B
MySQL
|
-- DropForeignKey
|
||
|
ALTER TABLE "Channel" DROP CONSTRAINT "Channel_guildId_fkey";
|
||
|
|
||
|
-- AddForeignKey
|
||
|
ALTER TABLE "Channel" ADD CONSTRAINT "Channel_guildId_fkey" FOREIGN KEY ("guildId") REFERENCES "Guild"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|