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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";