mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-05 11:46:58 -06:00
Save is on whatsapp on the database
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "is_on_whatsapp" (
|
||||
"id" TEXT NOT NULL,
|
||||
"remote_jid" VARCHAR(100) NOT NULL,
|
||||
"name" TEXT,
|
||||
"jid_options" TEXT NOT NULL,
|
||||
"created_at" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updated_at" TIMESTAMP NOT NULL,
|
||||
|
||||
CONSTRAINT "is_on_whatsapp_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "is_on_whatsapp_remote_jid_key" ON "is_on_whatsapp"("remote_jid");
|
||||
Reference in New Issue
Block a user