-- Pack 3 support SQL
ALTER TABLE work_sessions
  ADD COLUMN IF NOT EXISTS paused_at DATETIME NULL AFTER notes,
  ADD COLUMN IF NOT EXISTS pause_minutes_total INT NOT NULL DEFAULT 0 AFTER paused_at;

INSERT INTO settings (setting_key, setting_value)
VALUES
('open_shift_reminder_hours', '10'),
('work_photo_max_mb', '8')
ON DUPLICATE KEY UPDATE setting_value = VALUES(setting_value);
