/* Warnings: - Added the required column `authorId` to the `link` table without a default value. This is not possible if the table is not empty. */ -- AlterTable ALTER TABLE `link` ADD COLUMN `authorId` INTEGER NOT NULL; -- AddForeignKey ALTER TABLE `link` ADD CONSTRAINT `link_authorId_fkey` FOREIGN KEY (`authorId`) REFERENCES `user`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE;