IW4M-Admin/SharedLibraryCore/Migrations/20200521203304_AddHostnameToEFServer.cs

23 lines
612 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace SharedLibraryCore.Migrations
{
public partial class AddHostnameToEFServer : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "HostName",
table: "EFServers",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HostName",
table: "EFServers");
}
}
}