-- AlterTable
ALTER TABLE `db_courses_activites_quiz` ADD COLUMN `libraryQuizId` INTEGER NULL;

-- AlterTable
ALTER TABLE `db_students` MODIFY `image` VARCHAR(255) NULL;

-- AlterTable
ALTER TABLE `db_teachers` MODIFY `image` VARCHAR(255) NULL;

-- AlterTable
ALTER TABLE `db_users` MODIFY `profileUrl` VARCHAR(191) NULL;

-- AlterTable
ALTER TABLE `db_users_history` MODIFY `profileUrl` VARCHAR(191) NULL;

-- AddForeignKey
ALTER TABLE `db_courses_activites_quiz` ADD CONSTRAINT `db_courses_activites_quiz_libraryQuizId_fkey` FOREIGN KEY (`libraryQuizId`) REFERENCES `db_library_activites_quiz`(`id`) ON DELETE CASCADE ON UPDATE CASCADE;
