remove event_data.

This commit is contained in:
Brian Cao 2023-03-01 16:13:11 -08:00
parent 4cb5a14de9
commit 0cc1319e14
19 changed files with 29 additions and 627 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";