/*
  Warnings:

  - A unique constraint covering the columns `[device_token,user_id]` on the table `Device` will be added. If there are existing duplicate values, this will fail.

*/
-- DropIndex
DROP INDEX "Device_device_token_key";

-- CreateIndex
CREATE UNIQUE INDEX "Device_device_token_user_id_key" ON "Device"("device_token", "user_id");
