mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Add composite hash-size indexes in files table.
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user