mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Change CanReadGdRomUsingSwapDisc to nullable.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace Aaru.Database.Migrations
|
||||
{
|
||||
public partial class MakeCanReadGdRomUsingSwapDiscNullable : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder) =>
|
||||
migrationBuilder.AlterColumn<bool>("CanReadGdRomUsingSwapDisc", "Devices", nullable: true,
|
||||
oldClrType: typeof(bool), oldType: "INTEGER");
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder) =>
|
||||
migrationBuilder.AlterColumn<bool>("CanReadGdRomUsingSwapDisc", "Devices", "INTEGER", nullable: false,
|
||||
oldClrType: typeof(bool), oldNullable: true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user