[Database] Added migrations for Lite-On RAW DVD readings device reports.

This commit is contained in:
2025-04-24 06:20:41 +01:00
parent de986d2692
commit c18ef0e823
2 changed files with 2955 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,38 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Aaru.Database.Migrations
{
/// <inheritdoc />
public partial class AddLiteOnRawReadDvdToReport : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<byte[]>(
name: "LiteOnReadRawDVDData",
table: "TestedMedia",
type: "BLOB",
nullable: true);
migrationBuilder.AddColumn<bool>(
name: "SupportsLiteOnReadRawDVD",
table: "TestedMedia",
type: "INTEGER",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "LiteOnReadRawDVDData",
table: "TestedMedia");
migrationBuilder.DropColumn(
name: "SupportsLiteOnReadRawDVD",
table: "TestedMedia");
}
}
}