IW4M-Admin/Data/Migrations/Sqlite/20200521203304_AddHostnameToEFServer.cs

23 lines
606 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.Sqlite
{
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");
}
}
}