4e19d3664cd20e523513a8a1d4fbc3af32d37cfa
/*
Warnings:
- A unique constraint covering the columns `[user_id,type,period_start]` on the table `insights` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "insights_user_id_type_period_start_key" ON "insights"("user_id", "type", "period_start");