From e3be21cae143d51d45ea7ee3630deaeb4fc0d36a Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Mon, 11 Nov 2024 15:48:40 -0800 Subject: [PATCH] alter table answers drop column data --- backend/supabase/answers.sql | 1 - common/src/supabase/schema.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/backend/supabase/answers.sql b/backend/supabase/answers.sql index fd1b46bae3..9fad9122cc 100644 --- a/backend/supabase/answers.sql +++ b/backend/supabase/answers.sql @@ -4,7 +4,6 @@ create table if not exists color text, contract_id text, created_time timestamp with time zone default now(), - data jsonb, id text primary key default random_alphanumeric (12) not null, index integer, is_other boolean default false not null, diff --git a/common/src/supabase/schema.ts b/common/src/supabase/schema.ts index 4d4ab734ad..2b36801d2e 100644 --- a/common/src/supabase/schema.ts +++ b/common/src/supabase/schema.ts @@ -14,7 +14,6 @@ export type Database = { color: string | null contract_id: string | null created_time: string | null - data: Json | null id: string index: number | null is_other: boolean @@ -38,7 +37,6 @@ export type Database = { color?: string | null contract_id?: string | null created_time?: string | null - data?: Json | null id?: string index?: number | null is_other?: boolean @@ -62,7 +60,6 @@ export type Database = { color?: string | null contract_id?: string | null created_time?: string | null - data?: Json | null id?: string index?: number | null is_other?: boolean