Merge pull request #747 from judsonjuniorr/v2-update-contacts-database

V2 update contacts database
This commit is contained in:
Davidson Gomes
2024-08-12 09:41:18 -03:00
committed by GitHub
4 changed files with 39 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- A unique constraint covering the columns `[remoteJid,instanceId]` on the table `Contact` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "Contact_remoteJid_instanceId_key" ON "Contact"("remoteJid", "instanceId");