CREATE TABLE snapshots (
  id                INTEGER PRIMARY KEY,  -- 64-bit snowflake
  sid               TEXT NOT NULL UNIQUE, -- base62 encoded id
  created_at        INTEGER NOT NULL,
	branch            TEXT NOT NULL,
  git_hash          TEXT NOT NULL,
	committed         BOOL NOT NULL,
  path              TEXT NOT NULL
);

CREATE UNIQUE INDEX idx_snapshots_sid ON snapshots(sid);

