/*
  Warnings:

  - You are about to drop the column `department` on the `testimonial` table. All the data in the column will be lost.
  - Added the required column `department_id` to the `testimonial` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "testimonial" DROP COLUMN "department",
ADD COLUMN     "department_id" TEXT NOT NULL;

-- AddForeignKey
ALTER TABLE "testimonial" ADD FOREIGN KEY ("department_id") REFERENCES "department"("id") ON DELETE CASCADE ON UPDATE CASCADE;
