Switch the indexed archives backend to MSSQL for better ACID support

This commit is contained in:
Timothy Baldridge 2020-01-25 21:50:52 -07:00
parent fe4a4918d4
commit 898984322e
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace Wabbajack.BuildServer.Model.Models
{
public partial class ArchiveContent
{
public long Parent { get; set; }
public long Child { get; set; }
public string Path { get; set; }
public byte[] PathHash { get; set; }
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Wabbajack.BuildServer.Model.Models
{
public class IndexedFile
{
public long Hash { get; set; }
public byte[] Sha256 { get; set; }
public byte[] Sha1 { get; set; }
public byte[] Md5 { get; set; }
public int Crc32 { get; set; }
public long Size { get; set; }
}
}