Added standardized colors
This commit is contained in:
@@ -39,7 +39,7 @@ create table public.worlds (
|
||||
id bigint generated by default as identity primary key,
|
||||
name text not null,
|
||||
description text,
|
||||
color app_colors,
|
||||
color app_colors default 'black',
|
||||
gm_id uuid references public.users on delete cascade
|
||||
);
|
||||
comment on table public.worlds is 'Worlds belonging to a single user ; a game master.';
|
||||
@@ -49,6 +49,7 @@ create table public.calendars (
|
||||
id bigint generated by default as identity primary key,
|
||||
name text not null,
|
||||
today json not null,
|
||||
color app_colors default 'black',
|
||||
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.';
|
||||
@@ -67,6 +68,7 @@ comment on table public.calendar_months is 'A calendar month.';
|
||||
create table public.calendar_event_categories (
|
||||
id bigint generated by default as identity primary key,
|
||||
name text not null,
|
||||
color app_colors default 'black',
|
||||
unique (name)
|
||||
);
|
||||
comment on table public.calendar_event_categories is 'Categories describing events.';
|
||||
@@ -98,6 +100,7 @@ comment on table public.calendar_event_categories_links is 'Link tables for mult
|
||||
create table public.character_categories (
|
||||
id bigint generated by default as identity primary key,
|
||||
name text not null,
|
||||
color app_colors default 'black',
|
||||
unique (name)
|
||||
);
|
||||
comment on table public.character_categories is 'Categories describing characters';
|
||||
|
||||
Reference in New Issue
Block a user