init oops
This commit is contained in:
parent
aa4036afba
commit
5f9bb732b8
7 changed files with 391 additions and 60 deletions
|
@ -10,6 +10,7 @@ create table chats (
|
|||
|
||||
create table messages (
|
||||
id uuid default (gen_random_uuid()) primary key,
|
||||
timestamp timestamptz default (now()),
|
||||
chat_id uuid not null references chats(id),
|
||||
content varchar(2000) not null,
|
||||
from_admin boolean not null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue