-- We don't know if existing checkouts are deep clones. This will
-- force a new fetch (and most likely trigger a new build for deep
-- clones, as the binary contents of '.git' are not deterministic).
DELETE FROM CachedGitInputs;
CachedGitInputs
ADD COLUMN isDeepClone BOOLEAN NOT NULL;
CachedGitInputs DROP CONSTRAINT cachedgitinputs_pkey;
CachedGitInputs ADD CONSTRAINT cachedgitinputs_pkey
PRIMARY KEY (uri, branch, revision, isDeepClone);