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