using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SPMS.Infrastructure.Migrations { /// public partial class ApplyDomainEnums : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "EventType", table: "WebhookLog", type: "tinyint", nullable: false, oldClrType: typeof(string), oldType: "varchar(50)", oldMaxLength: 50) .OldAnnotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "EventType", table: "WebhookLog", type: "varchar(50)", maxLength: 50, nullable: false, oldClrType: typeof(sbyte), oldType: "tinyint") .Annotation("MySql:CharSet", "utf8mb4"); } } }