Spaces:
Runtime error
Runtime error
Download prisma/postgresql-migrations/20240830193533_changed_table_case/migration.sql from oex2003/evolution-api: direct link, hf CLI and curl.
- Browser
- Download file 576 Bytes
-
https://huggingface.co/spaces/oex2003/evolution-api/resolve/main/prisma/postgresql-migrations/20240830193533_changed_table_case/migration.sql
- Command line
-
hf download hf://spaces/oex2003/evolution-api/prisma/postgresql-migrations/20240830193533_changed_table_case/migration.sql
-
curl -L -o migration.sql https://huggingface.co/spaces/oex2003/evolution-api/resolve/main/prisma/postgresql-migrations/20240830193533_changed_table_case/migration.sql
576 Bytes
| /* | |
| Warnings: | |
| - You are about to drop the `is_on_whatsapp` table. If the table is not empty, all the data it contains will be lost. | |
| */ | |
| -- DropTable | |
| DROP TABLE "is_on_whatsapp"; | |
| -- CreateTable | |
| CREATE TABLE "IsOnWhatsapp" ( | |
| "id" TEXT NOT NULL, | |
| "remoteJid" VARCHAR(100) NOT NULL, | |
| "jidOptions" TEXT NOT NULL, | |
| "createdAt" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | |
| "updatedAt" TIMESTAMP NOT NULL, | |
| CONSTRAINT "IsOnWhatsapp_pkey" PRIMARY KEY ("id") | |
| ); | |
| -- CreateIndex | |
| CREATE UNIQUE INDEX "IsOnWhatsapp_remoteJid_key" ON "IsOnWhatsapp"("remoteJid"); | |