// Copyright (c) HelloShop Corporation. All rights reserved. // See the license file in the project root for more information. using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace HelloShop.OrderingService.Infrastructure.Migrations { /// public partial class AddEventLogTable : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "event_type_name", table: "distributed_event_log", type: "character varying(64)", maxLength: 64, nullable: false, oldClrType: typeof(string), oldType: "character varying(32)", oldMaxLength: 32); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "event_type_name", table: "distributed_event_log", type: "character varying(32)", maxLength: 32, nullable: false, oldClrType: typeof(string), oldType: "character varying(64)", oldMaxLength: 64); } } }