Add composite hash-size indexes in files table.

This commit is contained in:
2020-09-11 02:30:45 +01:00
parent 915a9a6738
commit d7b19a46b6
4 changed files with 576 additions and 0 deletions

View File

@@ -89,6 +89,18 @@ namespace RomRepoMgr.Database.Migrations
b.HasIndex("Size");
b.HasIndex("Crc32", "Size");
b.HasIndex("Md5", "Size");
b.HasIndex("Sha1", "Size");
b.HasIndex("Sha256", "Size");
b.HasIndex("Sha384", "Size");
b.HasIndex("Sha512", "Size");
b.ToTable("Files");
});