Added default date config in calendar data

This commit is contained in:
Alexis
2024-05-18 18:01:49 +02:00
parent 3de59116aa
commit 73e4b0e3d7
7 changed files with 58 additions and 33 deletions

View File

@@ -48,6 +48,7 @@ comment on table public.worlds is 'Worlds belonging to a single user ; a game ma
create table public.calendars (
id bigint generated by default as identity primary key,
name text not null,
today json not null,
world_id bigint references public.worlds on delete cascade not null
);
comment on table public.calendars is 'Calendar settings and configuration attached to a single world.';