From c88fefca7cc0045dac6f259a3fabe064ae049dd7 Mon Sep 17 00:00:00 2001 From: toshick Date: Tue, 21 May 2024 22:54:21 +0900 Subject: [PATCH] feat: add session and speaker prefix --- supabase/schema.sql | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/supabase/schema.sql b/supabase/schema.sql index ba3d04ae..1fb02884 100644 --- a/supabase/schema.sql +++ b/supabase/schema.sql @@ -1,14 +1,18 @@ create table if not exists public.speakers ( id uuid not null primary key default uuid_generate_v4(), - user_id uuid references auth.users on delete cascade not null, - speaker_title varchar(100) not null, - speaker_description varchar(100) not null, - speaker_comment varchar(100) not null, - speaker_doc_title varchar(100) not null, - speaker_doc_url varchar(100) not null, - speaker_time_from timestamp with time zone default timezone('utc' :: text, now()) not null, - speaker_time_duration int(10) not null, - speaker_place varchar(100) not null, + session_title varchar(100) not null, + session_description text not null, + session_comment varchar(100) not null, + session_place varchar(100) not null, + session_time_from timestamp with time zone default timezone('utc' :: text, now()) not null, + session_time_duration int(10) not null, + session_doc_title varchar(100) not null, + session_doc_url varchar(100) not null, + speaker_name varchar(100) not null, + speaker_caption varchar(100) not null, + speaker_description text not null, + speaker_github_url varchar(100) not null, + speaker_x_url varchar(100) not null, created_at timestamp with time zone default timezone('utc' :: text, now()) not null, updated_at timestamp with time zone default timezone('utc' :: text, now()) not null ); \ No newline at end of file