/* Warnings: - You are about to drop the column `attachments` on the `Message` table. All the data in the column will be lost. */ -- AlterTable ALTER TABLE "Message" DROP COLUMN "attachments"; -- AddForeignKey ALTER TABLE "Attachment" ADD CONSTRAINT "Attachment_messageId_fkey" FOREIGN KEY ("messageId") REFERENCES "Message"("id") ON DELETE CASCADE ON UPDATE CASCADE;