// using Manarah.App.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace Manarah.App.Migrations { [DbContext(typeof(ManarahContext))] [Migration("20240327205653_InitialCreate")] partial class InitialCreate { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.3") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("Manarah.Domain.Server", b => { b.Property("IPAddress") .HasColumnType("nvarchar(450)"); b.Property("Description") .HasColumnType("nvarchar(max)"); b.HasKey("IPAddress"); b.ToTable("Server", (string)null); }); #pragma warning restore 612, 618 } } }