CREATE TABLE IF NOT EXISTS entries (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  date TEXT NOT NULL UNIQUE,
  start_time TEXT NOT NULL,
  end_time TEXT NOT NULL,
  pause_minutes INTEGER NOT NULL DEFAULT 0,
  location TEXT DEFAULT 'office' CHECK(location IN ('office', 'home'))
);
