2020-05-22 21:29:41 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.Postgresql
|
2020-05-22 21:29:41 -04:00
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|