using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Ombi.Store.Migrations { public partial class RequestQueue : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "RequestQueue", columns: table => new { Id = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), RequestId = table.Column(nullable: false), Type = table.Column(nullable: false), Dts = table.Column(nullable: false), Error = table.Column(nullable: true), Completed = table.Column(nullable: true), RetryCount = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_RequestQueue", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "RequestQueue"); } } }