-- A user is a person who can log in to the system CREATE TABLE user ( id INTEGER PRIMARY KEY AUTOINCREMENT, username TEXT NOT NULL, password_hash TEXT NOT NULL, UNIQUE (username) ); -- A session stores metadata for review sessions CREATE TABLE session ( id INTEGER PRIMARY KEY AUTOINCREMENT, start_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, end_time DATETIME );