remove event_data. (#1804)

This commit is contained in:
Brian Cao
2023-03-01 16:42:47 -08:00
committed by GitHub
parent 94165ca5ad
commit 82f0bc3d2b
21 changed files with 29 additions and 629 deletions

View File

@@ -56,7 +56,6 @@ CREATE TABLE "website_event" (
"referrer" VARCHAR(500),
"event_type" INTEGER NOT NULL DEFAULT 1,
"event_name" VARCHAR(50),
"event_data" JSONB,
CONSTRAINT "website_event_pkey" PRIMARY KEY ("event_id")
);

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `event_data` on the `website_event` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "website_event" DROP COLUMN "event_data";