// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using TURN.Services.Chess.DBModel; #nullable disable namespace TURN.Services.Chess.Migrations { [DbContext(typeof(ModelBaseContext))] partial class ModelBaseContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "7.0.8") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); modelBuilder.Entity("TURN.Services.Chess.DBModel.Game", b => { b.Property("GameId") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasColumnName("GameId"); NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("GameId")); b.Property("BlackUserName") .HasColumnType("text"); b.Property("StartDate") .HasColumnType("text"); b.Property("WhiteUserName") .HasColumnType("text"); b.HasKey("GameId"); b.ToTable("Games"); }); #pragma warning restore 612, 618 } } }