We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4257b3 commit 64ab435Copy full SHA for 64ab435
scripts/storage.sql
@@ -75,7 +75,7 @@ CREATE TABLE IF NOT EXISTS TreeHead(
75
FOREIGN KEY(TreeId) REFERENCES Trees(TreeId) ON DELETE CASCADE
76
);
77
78
-CREATE UNIQUE INDEX TreeHeadRevisionIdx
+CREATE UNIQUE INDEX IF NOT EXISTS TreeHeadRevisionIdx
79
ON TreeHead(TreeId, TreeRevision);
80
81
-- ---------------------------------------------
0 commit comments