1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- // <auto-generated />
- 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
- {
- /// <inheritdoc />
- 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<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("TEXT");
- b.Property<string>("IPAddress")
- .HasColumnType("TEXT");
- b.Property<int?>("Port")
- .HasColumnType("INTEGER");
- b.HasKey("Id");
- b.ToTable("HostMqttInfos");
- });
- modelBuilder.Entity("Safeguard.Models.MCConfig", b =>
- {
- b.Property<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("TEXT");
- b.Property<string>("JsonString")
- .HasColumnType("TEXT");
- b.Property<string>("Name")
- .HasColumnType("TEXT");
- b.HasKey("Id");
- b.ToTable("MCConfigs");
- });
- #pragma warning restore 612, 618
- }
- }
- }
|