feat: add acknowledged_by and acknowledged_at columns to violations schema

This commit is contained in:
2026-03-07 19:25:42 -06:00
parent 2ba97c9482
commit f9619045a5

View File

@@ -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