using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace FlowAPI.Infrastructure.Migrations { /// public partial class ChangeEdgeConditionToString : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Condition", table: "Edges", type: "TEXT", maxLength: 50, nullable: false, oldClrType: typeof(int), oldType: "INTEGER", oldMaxLength: 50); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Condition", table: "Edges", type: "INTEGER", maxLength: 50, nullable: false, oldClrType: typeof(string), oldType: "TEXT", oldMaxLength: 50); } } }