2019-12-07 18:08:31 +00:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
2020-02-27 00:33:26 +00:00
|
|
|
|
namespace Aaru.Database.Migrations
|
2019-12-07 18:08:31 +00:00
|
|
|
|
{
|
|
|
|
|
|
public partial class SyncWithServerChanges : 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");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|