mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-07-08 17:56:18 +00:00
Rename Lite-On commands to ReadBuffer3C
This commit is contained in:
@@ -245,7 +245,7 @@ public sealed class AaruContext : DbContext
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.CompressedBufferRead",
|
||||
static b => b.HasOne("Aaru.CommonTypes.Metadata.TestedMedia", null)
|
||||
.WithMany("LiteOnReadBufferData")
|
||||
.WithMany("ReadBuffer3CReadBufferData")
|
||||
.HasForeignKey("TestedMediaId")
|
||||
.OnDelete(DeleteBehavior.Cascade));
|
||||
|
||||
|
||||
2975
Aaru.Database/Migrations/20260111083646_RenameLiteOnToReadBuffer3C.Designer.cs
generated
Normal file
2975
Aaru.Database/Migrations/20260111083646_RenameLiteOnToReadBuffer3C.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,38 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Aaru.Database.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class RenameLiteOnToReadBuffer3C : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SupportsLiteOnReadRawDVD",
|
||||
table: "TestedMedia",
|
||||
newName: "SupportsReadBuffer3CRawDVD");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "LiteOnReadRawDVDData",
|
||||
table: "TestedMedia",
|
||||
newName: "ReadBuffer3CRawDVDData");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SupportsReadBuffer3CRawDVD",
|
||||
table: "TestedMedia",
|
||||
newName: "SupportsLiteOnReadRawDVD");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "ReadBuffer3CRawDVDData",
|
||||
table: "TestedMedia",
|
||||
newName: "LiteOnReadRawDVDData");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1672,9 +1672,6 @@ namespace Aaru.Database.Migrations
|
||||
b.Property<byte[]>("LeadOutData")
|
||||
.HasColumnType("BLOB");
|
||||
|
||||
b.Property<byte[]>("LiteOnReadRawDVDData")
|
||||
.HasColumnType("BLOB");
|
||||
|
||||
b.Property<ushort?>("LogicalAlignment")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@@ -1759,6 +1756,9 @@ namespace Aaru.Database.Migrations
|
||||
b.Property<byte[]>("Read6Data")
|
||||
.HasColumnType("BLOB");
|
||||
|
||||
b.Property<byte[]>("ReadBuffer3CRawDVDData")
|
||||
.HasColumnType("BLOB");
|
||||
|
||||
b.Property<byte[]>("ReadCdData")
|
||||
.HasColumnType("BLOB");
|
||||
|
||||
@@ -1837,9 +1837,6 @@ namespace Aaru.Database.Migrations
|
||||
b.Property<bool?>("SupportsHLDTSTReadRawDVD")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool?>("SupportsLiteOnReadRawDVD")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool?>("SupportsNECReadCDDA")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@@ -1867,6 +1864,9 @@ namespace Aaru.Database.Migrations
|
||||
b.Property<bool?>("SupportsRead6")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool?>("SupportsReadBuffer3CRawDVD")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool?>("SupportsReadCapacity")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@@ -2638,7 +2638,7 @@ namespace Aaru.Database.Migrations
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.CompressedBufferRead", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedMedia", null)
|
||||
.WithMany("LiteOnReadBufferData")
|
||||
.WithMany("ReadBuffer3CReadBufferData")
|
||||
.HasForeignKey("TestedMediaId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
@@ -2952,7 +2952,7 @@ namespace Aaru.Database.Migrations
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedMedia", b =>
|
||||
{
|
||||
b.Navigation("LiteOnReadBufferData");
|
||||
b.Navigation("ReadBuffer3CReadBufferData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedSequentialMedia", b =>
|
||||
|
||||
Reference in New Issue
Block a user