using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Data.Migrations { /// public partial class ChapterNumber : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "MaxNumber", table: "Chapter", type: "REAL", nullable: false, defaultValue: 0f); migrationBuilder.AddColumn( name: "MinNumber", table: "Chapter", type: "REAL", nullable: false, defaultValue: 0f); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MaxNumber", table: "Chapter"); migrationBuilder.DropColumn( name: "MinNumber", table: "Chapter"); } } }