Skip to content

Commit 7830d9e

Browse files
committed
Add timezone column to pgsql schema
1 parent 93feb26 commit 7830d9e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

schema/pgsql/schema.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ CREATE INDEX idx_contactgroup_member_changed_at ON contactgroup_member(changed_a
121121
CREATE TABLE schedule (
122122
id bigserial,
123123
name citext NOT NULL,
124+
timezone text NOT NULL, -- e.g. 'Europe/Berlin'
124125

125126
changed_at bigint NOT NULL,
126127
deleted boolenum NOT NULL DEFAULT 'n',

schema/pgsql/upgrades/002.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE schedule ADD COLUMN timezone text NOT NULL;

0 commit comments

Comments
 (0)