Skip to content

Commit

Permalink
Additional unique index correction (#1885)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Block <[email protected]>
  • Loading branch information
sabre1041 authored Dec 8, 2023
1 parent c4257b3 commit 64ab435
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 64ab435

Please sign in to comment.