using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace LiteCharms.Infrastructure.Database.Migrations { /// public partial class AddedProcessedColumnToNotifications : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "IsInternal", table: "Notification", type: "boolean", nullable: false, defaultValue: true, oldClrType: typeof(bool), oldType: "boolean"); migrationBuilder.AddColumn( name: "Processed", table: "Notification", type: "boolean", nullable: false, defaultValue: false); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Processed", table: "Notification"); migrationBuilder.AlterColumn( name: "IsInternal", table: "Notification", type: "boolean", nullable: false, oldClrType: typeof(bool), oldType: "boolean", oldDefaultValue: true); } } }