34 lines
986 B
C#
34 lines
986 B
C#
{de8f7f43d85ce0a29ed1f7beb750c8a33c0316a1 true 986 20240327205653_InitialCreate.cs 0xc002b2e850}
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Manarah.App.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class InitialCreate : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateTable(
|
|
name: "Server",
|
|
columns: table => new
|
|
{
|
|
IPAddress = table.Column<string>(type: "nvarchar(450)", nullable: false),
|
|
Description = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
|
},
|
|
constraints: table =>
|
|
{
|
|
table.PrimaryKey("PK_Server", x => x.IPAddress);
|
|
});
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropTable(
|
|
name: "Server");
|
|
}
|
|
}
|
|
}
|