using Microsoft.EntityFrameworkCore.Migrations; namespace DataLayer.Migrations { public partial class BookIsEpisode : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ContentType", table: "Books", type: "INTEGER", nullable: false, defaultValue: 0); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ContentType", table: "Books"); } } }