mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Switch the indexed archives backend to MSSQL for better ACID support
This commit is contained in:
parent
fe4a4918d4
commit
898984322e
13
Wabbajack.BuildServer/Models/Sql/ArchiveContent.cs
Normal file
13
Wabbajack.BuildServer/Models/Sql/ArchiveContent.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
15
Wabbajack.BuildServer/Models/Sql/IndexedFile.cs
Normal file
15
Wabbajack.BuildServer/Models/Sql/IndexedFile.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user