implement bare basic functionality!!!

This commit is contained in:
Schrottkatze 2024-10-04 20:18:36 +02:00
parent 5f9bb732b8
commit ed87d3fb51
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
7 changed files with 238 additions and 13 deletions

View file

@ -10,8 +10,10 @@ create table chats (
create table messages (
id uuid default (gen_random_uuid()) primary key,
timestamp timestamptz default (now()),
timestamp timestamptz not null default (now()),
chat_id uuid not null references chats(id),
content varchar(2000) not null,
from_admin boolean not null
)
);
insert into chats (url_path) values ('tstcht');