-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add session and speaker prefix
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
); |