Rolled in index from #4706

This closes #4706
This commit is contained in:
Kenneth Skovhede
2025-05-10 22:30:05 +02:00
parent c3b082e9f5
commit 424ef6c5bf
3 changed files with 3 additions and 1 deletions
@@ -1 +1,2 @@
DROP INDEX IF EXISTS "RemotevolumeNameOnly";
DROP INDEX IF EXISTS "FileLookupMetadataID";
@@ -1,2 +1,3 @@
CREATE UNIQUE INDEX IF NOT EXISTS "RemotevolumeNameOnly" ON "Remotevolume" ("Name");
CREATE INDEX IF NOT EXISTS "FileLookupMetadataID" ON "FileLookup" ("MetadataID");
UPDATE "Version" SET "Version" = 16;
@@ -114,7 +114,7 @@ CREATE TABLE "FileLookup" (
/* Fast path based lookup, single properties are auto-indexed */
CREATE UNIQUE INDEX "FileLookupPath" ON "FileLookup" ("PrefixID", "Path", "BlocksetID", "MetadataID");
CREATE INDEX "nn_FileLookup_BlockMeta" ON FileLookup ("BlocksetID", "MetadataID");
CREATE INDEX "FileLookupMetadataID" ON "FileLookup" ("MetadataID");
/*