2019-11-24 22:40:32 +00:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
2024-05-03 22:18:49 +01:00
|
|
|
|
namespace Aaru.Server.Database.Migrations
|
2019-11-24 22:40:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
public partial class AddSupportsScrambledReadCd : Migration
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
migrationBuilder.AddColumn<bool>("CanReadCdScrambled", "TestedMedia", nullable: true);
|
|
|
|
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<byte[]>("ReadCdScrambledData", "TestedMedia", nullable: true);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
migrationBuilder.DropColumn("CanReadCdScrambled", "TestedMedia");
|
|
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropColumn("ReadCdScrambledData", "TestedMedia");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|