mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 11:14:27 +00:00
Update Aaru linked dependencies to v6.0.0-alpha.10.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Aaru.CommonTypes" Version="6.0.0-alpha8"/>
|
||||
<PackageReference Include="Aaru.CommonTypes" Version="6.0.0-alpha10"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.0.0"/>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0"/>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="9.0.0"/>
|
||||
|
||||
3261
Aaru.Server.Database/Migrations/20250427105442_AddLiteOnRawReadDvdToReport.Designer.cs
generated
Normal file
3261
Aaru.Server.Database/Migrations/20250427105442_AddLiteOnRawReadDvdToReport.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,9 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Aaru.Server.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
@@ -15,15 +17,22 @@ namespace Aaru.Server.Database.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "6.0.0")
|
||||
.HasAnnotation("ProductVersion", "9.0.0")
|
||||
.HasAnnotation("Proxies:ChangeTracking", false)
|
||||
.HasAnnotation("Proxies:CheckEquality", false)
|
||||
.HasAnnotation("Proxies:LazyLoading", true)
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Ata", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("Identify")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -43,6 +52,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<uint?>("BlockLength")
|
||||
.HasColumnType("int unsigned");
|
||||
|
||||
@@ -68,6 +79,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<ushort>("Cylinders")
|
||||
.HasColumnType("smallint unsigned");
|
||||
|
||||
@@ -88,6 +101,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int>("Code")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -107,6 +122,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("Manufacturer")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
@@ -133,6 +150,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("Lba0Data")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -738,6 +757,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int?>("FeaturesId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -757,6 +778,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte?>("AACSVersion")
|
||||
.HasColumnType("tinyint unsigned");
|
||||
|
||||
@@ -1140,6 +1163,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("CID")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -1166,6 +1191,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("CIS")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -1195,6 +1222,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("InquiryData")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -1256,6 +1285,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<bool>("BlankCheckEnabled")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@@ -1285,6 +1316,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int?>("ScsiId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -1315,6 +1348,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte?>("BlockSizeGranularity")
|
||||
.HasColumnType("tinyint unsigned");
|
||||
|
||||
@@ -1335,6 +1370,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
@@ -1374,6 +1411,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<uint>("BitsPerMm")
|
||||
.HasColumnType("int unsigned");
|
||||
|
||||
@@ -1431,6 +1470,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("AdipData")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -1644,6 +1685,9 @@ namespace Aaru.Server.Database.Migrations
|
||||
b.Property<byte[]>("LeadOutData")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
b.Property<byte[]>("LiteOnReadRawDVDData")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
b.Property<ushort?>("LogicalAlignment")
|
||||
.HasColumnType("smallint unsigned");
|
||||
|
||||
@@ -1806,6 +1850,9 @@ namespace Aaru.Server.Database.Migrations
|
||||
b.Property<bool?>("SupportsHLDTSTReadRawDVD")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool?>("SupportsLiteOnReadRawDVD")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool?>("SupportsNECReadCDDA")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@@ -1935,6 +1982,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<bool?>("CanReadMediaSerial")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@@ -1978,6 +2027,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<byte[]>("Descriptors")
|
||||
.HasColumnType("longblob");
|
||||
|
||||
@@ -2007,10 +2058,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2024,6 +2078,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("AddedWhen")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
@@ -2058,6 +2114,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int?>("ATAId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -2148,7 +2206,10 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("Bus")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Manufacturer")
|
||||
@@ -2176,10 +2237,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2193,10 +2257,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2210,6 +2277,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
@@ -2217,6 +2286,7 @@ namespace Aaru.Server.Database.Migrations
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<string>("Type")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2230,10 +2300,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2247,6 +2320,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("AddedWhen")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
@@ -2307,10 +2382,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Version")
|
||||
@@ -2327,10 +2405,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2344,10 +2425,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Version")
|
||||
@@ -2364,10 +2448,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2381,10 +2468,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Version")
|
||||
@@ -2401,6 +2491,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int?>("ATAId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -2475,6 +2567,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("AddedWhen")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
@@ -2482,6 +2576,7 @@ namespace Aaru.Server.Database.Migrations
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("Product")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<ushort>("ProductId")
|
||||
@@ -2507,6 +2602,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("AddedWhen")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
@@ -2514,6 +2611,7 @@ namespace Aaru.Server.Database.Migrations
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("Vendor")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<ushort>("VendorId")
|
||||
@@ -2535,10 +2633,13 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<long>("Count")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
@@ -2578,6 +2679,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("ClaimType")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
@@ -2665,6 +2768,8 @@ namespace Aaru.Server.Database.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("ClaimType")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
@@ -2685,12 +2790,10 @@ namespace Aaru.Server.Database.Migrations
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
|
||||
{
|
||||
b.Property<string>("LoginProvider")
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("varchar(128)");
|
||||
.HasColumnType("varchar(255)");
|
||||
|
||||
b.Property<string>("ProviderKey")
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("varchar(128)");
|
||||
.HasColumnType("varchar(255)");
|
||||
|
||||
b.Property<string>("ProviderDisplayName")
|
||||
.HasColumnType("longtext");
|
||||
@@ -2727,12 +2830,10 @@ namespace Aaru.Server.Database.Migrations
|
||||
.HasColumnType("varchar(255)");
|
||||
|
||||
b.Property<string>("LoginProvider")
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("varchar(128)");
|
||||
.HasColumnType("varchar(255)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("varchar(128)");
|
||||
.HasColumnType("varchar(255)");
|
||||
|
||||
b.Property<string>("Value")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
@@ -36,11 +36,11 @@ using Aaru.CommonTypes.Metadata;
|
||||
|
||||
namespace Aaru.Server.Database.Models;
|
||||
|
||||
public class Device : DeviceReportV2
|
||||
public class Device : DeviceReport
|
||||
{
|
||||
public Device() => AddedWhen = DateTime.UtcNow;
|
||||
|
||||
public Device(DeviceReportV2 report)
|
||||
public Device(DeviceReport report)
|
||||
{
|
||||
ATA = report.ATA;
|
||||
ATAPI = report.ATAPI;
|
||||
|
||||
@@ -35,11 +35,11 @@ using Aaru.CommonTypes.Metadata;
|
||||
|
||||
namespace Aaru.Server.Database.Models;
|
||||
|
||||
public class UploadedReport : DeviceReportV2
|
||||
public class UploadedReport : DeviceReport
|
||||
{
|
||||
public UploadedReport() => UploadedWhen = DateTime.UtcNow;
|
||||
|
||||
public UploadedReport(DeviceReportV2 report)
|
||||
public UploadedReport(DeviceReport report)
|
||||
{
|
||||
ATA = report.ATA;
|
||||
ATAPI = report.ATAPI;
|
||||
|
||||
Reference in New Issue
Block a user