From f9619045a5274a4c54d452a804b989e93a0f0775 Mon Sep 17 00:00:00 2001 From: jason Date: Sat, 7 Mar 2026 19:25:42 -0600 Subject: [PATCH] feat: add acknowledged_by and acknowledged_at columns to violations schema --- db/schema.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/schema.sql b/db/schema.sql index 3bcc928..f33fc8a 100755 --- a/db/schema.sql +++ b/db/schema.sql @@ -3,6 +3,7 @@ CREATE TABLE IF NOT EXISTS employees ( name TEXT NOT NULL, department TEXT, supervisor TEXT, + notes TEXT, created_at DATETIME DEFAULT CURRENT_TIMESTAMP ); @@ -19,6 +20,8 @@ CREATE TABLE IF NOT EXISTS violations ( details TEXT, submitted_by TEXT, witness_name TEXT, + acknowledged_by TEXT, -- name of person who received the document + acknowledged_at TEXT, -- date acknowledged (YYYY-MM-DD) negated INTEGER NOT NULL DEFAULT 0, negated_at DATETIME, prior_active_points INTEGER, -- snapshot at time of logging