using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Data.Migrations { public partial class AutoCollections : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ManageCollections", table: "Library", type: "INTEGER", nullable: false, defaultValue: true); migrationBuilder.AddColumn( name: "SeriesGroup", table: "Chapter", type: "TEXT", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ManageCollections", table: "Library"); migrationBuilder.DropColumn( name: "SeriesGroup", table: "Chapter"); } } }