45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
|
// <auto-generated />
|
|||
|
using System;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Demo1.Migrations
|
|||
|
{
|
|||
|
[DbContext(typeof(RemoteDatabaseContext))]
|
|||
|
partial class RemoteDatabaseContextModelSnapshot : ModelSnapshot
|
|||
|
{
|
|||
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder
|
|||
|
.HasAnnotation("ProductVersion", "8.0.10")
|
|||
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
|||
|
|
|||
|
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
|||
|
|
|||
|
modelBuilder.Entity("Demo.Data.RemoteData.RemoteDataBase.DAO.User", b =>
|
|||
|
{
|
|||
|
b.Property<Guid>("Id")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("uuid");
|
|||
|
|
|||
|
b.Property<string>("FIO")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("text");
|
|||
|
|
|||
|
b.Property<int>("GroupID")
|
|||
|
.HasColumnType("integer");
|
|||
|
|
|||
|
b.HasKey("Id");
|
|||
|
|
|||
|
b.ToTable("Users");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|