Skip to content

Commit

Permalink
Additional unique index correction (sigstore#1885)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Block <[email protected]>
  • Loading branch information
sabre1041 authored and tommyd450 committed Dec 8, 2023
1 parent c43d979 commit c3eced6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/storage.sql
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ CREATE TABLE IF NOT EXISTS TreeHead(
FOREIGN KEY(TreeId) REFERENCES Trees(TreeId) ON DELETE CASCADE
);

CREATE UNIQUE INDEX TreeHeadRevisionIdx
CREATE UNIQUE INDEX IF NOT EXISTS TreeHeadRevisionIdx
ON TreeHead(TreeId, TreeRevision);

-- ---------------------------------------------
Expand Down

0 comments on commit c3eced6

Please sign in to comment.