using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PARR.DAL.Migrations { /// public partial class UpdTblHosts : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "EK", table: "Hosts", newName: "WorkGroup"); migrationBuilder.AddColumn( name: "APP", table: "Hosts", type: "text", nullable: true); migrationBuilder.AddColumn( name: "DB", table: "Hosts", type: "text", nullable: true); migrationBuilder.AddColumn( name: "LinkEK", table: "Hosts", type: "text", nullable: true); migrationBuilder.AddColumn( name: "OS", table: "Hosts", type: "text", nullable: true); migrationBuilder.AddColumn( name: "RegionalEK", table: "Hosts", type: "text", nullable: true); migrationBuilder.AddColumn( name: "Responsible", table: "Hosts", type: "text", nullable: true); migrationBuilder.AddColumn( name: "Status", table: "Hosts", type: "text", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "APP", table: "Hosts"); migrationBuilder.DropColumn( name: "DB", table: "Hosts"); migrationBuilder.DropColumn( name: "LinkEK", table: "Hosts"); migrationBuilder.DropColumn( name: "OS", table: "Hosts"); migrationBuilder.DropColumn( name: "RegionalEK", table: "Hosts"); migrationBuilder.DropColumn( name: "Responsible", table: "Hosts"); migrationBuilder.DropColumn( name: "Status", table: "Hosts"); migrationBuilder.RenameColumn( name: "WorkGroup", table: "Hosts", newName: "EK"); } } }