Added location to database, model, and event templates
This commit is contained in:
@@ -63,7 +63,7 @@ create table public.calendar_months (
|
||||
);
|
||||
comment on table public.calendar_months is 'A calendar month.';
|
||||
|
||||
-- Event categories
|
||||
-- Calendar Event categories
|
||||
create table public.calendar_event_categories (
|
||||
id bigint generated by default as identity primary key,
|
||||
name text not null,
|
||||
@@ -71,11 +71,12 @@ create table public.calendar_event_categories (
|
||||
);
|
||||
comment on table public.calendar_event_categories is 'Categories describing events.';
|
||||
|
||||
-- Events
|
||||
-- Calendar Events
|
||||
create table public.calendar_events (
|
||||
id bigint generated by default as identity primary key,
|
||||
title text not null,
|
||||
description text,
|
||||
location text,
|
||||
start_date json not null,
|
||||
end_date json,
|
||||
category bigint references public.calendar_event_categories on delete cascade,
|
||||
|
||||
Reference in New Issue
Block a user