using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Ombi.Store.Migrations { public partial class RecentlyAddedLog : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "RecentlyAddedLog", columns: table => new { Id = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), AddedAt = table.Column(nullable: false), ContentId = table.Column(nullable: false), ContentType = table.Column(nullable: false), Type = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_RecentlyAddedLog", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "RecentlyAddedLog"); } } }