using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Aaru.Database.Migrations { public partial class AddCdOffsets : Migration { protected override void Up(MigrationBuilder migrationBuilder) => migrationBuilder.CreateTable("CdOffsets", table => new { Manufacturer = table. Column (nullable : true), Model = table. Column< string >(nullable : true), Offset = table. Column (), Submissions = table. Column (), Agreement = table. Column (), Id = table. Column< int >(). Annotation("Sqlite:Autoincrement", true), AddedWhen = table. Column (), ModifiedWhen = table. Column () }, constraints: table => { table. PrimaryKey("PK_CdOffsets", x => x. Id); }); protected override void Down(MigrationBuilder migrationBuilder) => migrationBuilder.DropTable("CdOffsets"); } }