// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using Robust.Benchmarks.Exporters; #nullable disable namespace Robust.Benchmarks.Migrations { [DbContext(typeof(BenchmarkContext))] partial class BenchmarkContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "6.0.0") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); modelBuilder.Entity("Robust.Benchmarks.Exporters.BenchmarkRun", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("numeric(20,0)"); b.Property("GitHash") .IsRequired() .HasColumnType("text"); b.Property("Name") .IsRequired() .HasColumnType("text"); b.Property("Reports") .IsRequired() .HasColumnType("jsonb"); b.Property("RunDate") .HasColumnType("Date"); b.HasKey("Id"); b.ToTable("BenchmarkRuns"); }); #pragma warning restore 612, 618 } } }