43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
{1bc000e7643da15caced7a08074a8ee839731e34 true 1326 20240327205653_InitialCreate.Designer.cs 0xc001e2b2d0}
// <auto-generated />
|
|
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
|
|
{
|
|
/// <inheritdoc />
|
|
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<string>("IPAddress")
|
|
.HasColumnType("nvarchar(450)");
|
|
|
|
b.Property<string>("Description")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("IPAddress");
|
|
|
|
b.ToTable("Server", (string)null);
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|