mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-07-08 17:56:18 +00:00
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|