mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|