rdt-client/server/RdtClient.Data/Migrations/20210401211556_Downloads_Add_RetryCount.cs
Roger Far 1764bdc803 Fixed bug where downloads sometimes got added twice.
Added a retry download functionality.
2021-04-01 15:45:46 -06:00

24 lines
680 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace RdtClient.Data.Migrations
{
public partial class Downloads_Add_RetryCount : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "RetryCount",
table: "Downloads",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RetryCount",
table: "Downloads");
}
}
}