using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Manarah.App.Migrations
{
///
public partial class InitialCreate : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Server",
columns: table => new
{
IPAddress = table.Column(type: "nvarchar(450)", nullable: false),
Description = table.Column(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Server", x => x.IPAddress);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Server");
}
}
}