/*
  Warnings:

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

*/
-- AlterTable
ALTER TABLE `Caisse` ADD COLUMN `userId` INTEGER NOT NULL;

-- AddForeignKey
ALTER TABLE `Caisse` ADD CONSTRAINT `Caisse_userId_fkey` FOREIGN KEY (`userId`) REFERENCES `User`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE;
