/*
  Warnings:

  - Added the required column `permission_id` to the `user_permissions` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "user_permissions" ADD COLUMN     "permission_id" INTEGER NOT NULL;

-- AddForeignKey
ALTER TABLE "user_permissions" ADD CONSTRAINT "user_permissions_permission_id_fkey" FOREIGN KEY ("permission_id") REFERENCES "permissions_list"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
