using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Inventory.Core.Migrations { /// public partial class AddDeviceLocation : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "PreviousIPAddress", table: "Devices", newName: "Location"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "Location", table: "Devices", newName: "PreviousIPAddress"); } } }