mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Database] Added migrations for Lite-On RAW DVD readings device reports.
This commit is contained in:
2917
Aaru.Database/Migrations/20250424050851_AddLiteOnRawReadDvdToReport.Designer.cs
generated
Normal file
2917
Aaru.Database/Migrations/20250424050851_AddLiteOnRawReadDvdToReport.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 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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user