using Microsoft.EntityFrameworkCore.Migrations; namespace DiscImageChef.Database.Migrations { public partial class SeenDevicesStatistics : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable("SeenDevices", table => new { Id = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), Manufacturer = table.Column(nullable: true), Model = table.Column(nullable: true), Revision = table.Column(nullable: true), Bus = table.Column(nullable: true), Synchronized = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_SeenDevices", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable("SeenDevices"); } } }