mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: integrate ics calendar
This commit is contained in:
parent
b602093246
commit
63fb6cd45a
22 changed files with 845 additions and 193 deletions
9
src/db/migrations/008_calendar_feeds.sql
Normal file
9
src/db/migrations/008_calendar_feeds.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
CREATE TABLE calendar_feeds (
|
||||
id SERIAL PRIMARY KEY,
|
||||
person_id INTEGER NOT NULL REFERENCES calendar_people(id) ON DELETE CASCADE,
|
||||
label TEXT,
|
||||
ics_url TEXT NOT NULL,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
CREATE INDEX idx_calendar_feeds_person_id ON calendar_feeds (person_id);
|
||||
Loading…
Add table
Add a link
Reference in a new issue