CREATE TABLE hooklog (
  id INTEGER NOT NULL PRIMARY KEY,
  repo_url VARCHAR(300) NOT NULL,
  command_with_args TEXT NOT NULL,
  current_dir VARCHAR(300) NOT NULL,
  stdout TEXT NOT NULL,
  stderr TEXT NOT NULL,
  status_code INTEGER CHECK (status_code >= 0)
);
