using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace ProjectApi.Migrations { /// public partial class Initial : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "WorkItems", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), Title = table.Column(type: "TEXT", nullable: false), Description = table.Column(type: "TEXT", nullable: false), Status = table.Column(type: "INTEGER", nullable: false) }, constraints: table => { table.PrimaryKey("PK_WorkItems", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "WorkItems"); } } }