using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MonitorPanel.DataAccess.Migrations
{
///
public partial class InitialCreate : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Servers",
columns: table => new
{
Id = table.Column(type: "uuid", nullable: false),
Name = table.Column(type: "text", nullable: false),
IsHttps = table.Column(type: "boolean", nullable: false),
Address = table.Column(type: "text", nullable: false),
Path = table.Column(type: "text", nullable: true),
Port = table.Column(type: "integer", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Servers", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Servers");
}
}
}