From b4c1e98176347e4954d696888c4f0680c39d5a1c Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Mon, 22 Jun 2026 12:54:35 +0100 Subject: [PATCH] feat(db): add out_of_hours column to bookings table Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- init-scripts/init-script.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init-scripts/init-script.sql b/init-scripts/init-script.sql index 8437cee..117b5cd 100644 --- a/init-scripts/init-script.sql +++ b/init-scripts/init-script.sql @@ -384,7 +384,8 @@ CREATE TABLE bookings ( created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), created_by CHAR(12), - idempotency_key VARCHAR(64) UNIQUE + idempotency_key VARCHAR(64) UNIQUE, + out_of_hours BOOLEAN NOT NULL DEFAULT FALSE ); CREATE INDEX idx_bookings_userid ON bookings(user_id);