//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Safeguard.EntityFramework;
#nullable disable
namespace Safeguard.Migrations
{
[DbContext(typeof(Context))]
[Migration("20221115044729_202211151242")]
partial class _202211151242
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "7.0.0");
modelBuilder.Entity("Safeguard.Models.HostMqttInfo", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("IPAddress")
.HasColumnType("TEXT");
b.Property("Port")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("HostMqttInfos");
});
modelBuilder.Entity("Safeguard.Models.MCConfig", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("JsonString")
.HasColumnType("TEXT");
b.Property("Name")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("MCConfigs");
});
#pragma warning restore 612, 618
}
}
}