Skip to content

Commit

Permalink
add alarm properties comment
Browse files Browse the repository at this point in the history
  • Loading branch information
YazeedAlKhalaf committed Oct 27, 2024
1 parent 73b261a commit cfa1e46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions falak/pkg/store/migrations/000002_calendar_o_calendar.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ CREATE TRIGGER update_vevent_exception_updated_at
CREATE TABLE valarm (
id UUID DEFAULT uuid_generate_v4() PRIMARY KEY,
event_uid VARCHAR NOT NULL REFERENCES vevent(uid) ON DELETE CASCADE,

-- Alarm properties
action VARCHAR NOT NULL CHECK (action IN ('AUDIO', 'DISPLAY', 'EMAIL')),
trigger VARCHAR NOT NULL,
description TEXT,
Expand Down

0 comments on commit cfa1e46

Please sign in to comment.