mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
10 lines
325 B
MySQL
10 lines
325 B
MySQL
|
|
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);
|