-- AlterTable
ALTER TABLE `files` ADD COLUMN `comment_id` INTEGER NULL;

-- AddForeignKey
ALTER TABLE `files` ADD CONSTRAINT `files_comment_id_fkey` FOREIGN KEY (`comment_id`) REFERENCES `comments`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;
