init oops

This commit is contained in:
Schrottkatze 2024-10-03 01:58:20 +02:00
parent aa4036afba
commit 5f9bb732b8
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
7 changed files with 391 additions and 60 deletions

View file

@ -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