2018-05-03 01:25:49 -04:00
|
|
|
|
// <auto-generated />
|
2018-09-02 17:59:27 -04:00
|
|
|
|
using System;
|
2021-03-22 12:09:25 -04:00
|
|
|
|
using Data.MigrationContext;
|
2018-05-03 01:25:49 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
2018-09-02 17:59:27 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
2020-11-27 22:52:52 -05:00
|
|
|
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
namespace Data.Migrations.Postgresql
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2020-11-27 22:52:52 -05:00
|
|
|
|
[DbContext(typeof(PostgresqlDatabaseContext))]
|
|
|
|
|
partial class PostgresqlDatabaseContextModelSnapshot : ModelSnapshot
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasAnnotation("ProductVersion", "6.0.1")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFACSnapshotVector3", b =>
|
2018-06-05 17:31:36 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("ACSnapshotVector3Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("ACSnapshotVector3Id"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
2018-06-05 17:31:36 -04:00
|
|
|
|
b.Property<int>("SnapshotId")
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Vector3Id")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ACSnapshotVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("SnapshotId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Vector3Id");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFACSnapshotVector3", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClient", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("ClientId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("AliasLinkId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Connections")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("CurrentAliasId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("FirstConnection")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
2022-06-15 20:37:34 -04:00
|
|
|
|
b.Property<int>("GameName")
|
2022-04-22 17:03:34 -04:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("LastConnection")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Level")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Masked")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("NetworkId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Password")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PasswordSalt")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TotalConnectionTime")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ClientId");
|
|
|
|
|
|
2022-06-15 20:37:34 -04:00
|
|
|
|
b.HasAlternateKey("NetworkId", "GameName");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("AliasLinkId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("CurrentAliasId");
|
|
|
|
|
|
2023-01-23 22:10:33 -05:00
|
|
|
|
b.HasIndex("LastConnection");
|
|
|
|
|
|
2022-06-15 20:37:34 -04:00
|
|
|
|
b.HasIndex("NetworkId");
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClients", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-08-31 19:21:40 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientConnectionHistory", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("ClientConnectionId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("ClientConnectionId"));
|
2021-08-31 19:21:40 -04:00
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ConnectionType")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ClientConnectionId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("CreatedDateTime");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientConnectionHistory", (string)null);
|
2021-08-31 19:21:40 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientKill", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("KillId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("KillId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("AttackerId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Damage")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("DeathOriginVector3Id")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DeathType")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("Fraction")
|
|
|
|
|
.HasColumnType("double precision");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("HitLoc")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsKill")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("KillOriginVector3Id")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Map")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("VictimId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("ViewAnglesVector3Id")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("VisibilityPercentage")
|
|
|
|
|
.HasColumnType("double precision");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Weapon")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<string>("WeaponReference")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("KillId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("AttackerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("DeathOriginVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("KillOriginVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("VictimId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ViewAnglesVector3Id");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientKills", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientMessage", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("MessageId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("MessageId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Message")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("SentIngame")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("TimeSent")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MessageId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("TimeSent");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientMessages", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFACSnapshot", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("SnapshotId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("SnapshotId"));
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("CurrentSessionLength")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("CurrentStrain")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2019-09-27 16:53:52 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("CurrentViewAngleId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Deaths")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("Distance")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("EloRating")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitDestinationId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitLocation")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<string>("HitLocationReference")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitOriginId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitType")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Hits")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Kills")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("LastStrainAngleId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("RecoilOffset")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<long?>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SessionAngleOffset")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2019-06-15 18:37:43 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SessionAverageSnapValue")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SessionSPM")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("SessionScore")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("SessionSnapHits")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2019-09-27 16:53:52 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("StrainAngleBetween")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TimeSinceLastEvent")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("WeaponId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<string>("WeaponReference")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("SnapshotId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
2018-09-23 20:45:54 -04:00
|
|
|
|
b.HasIndex("CurrentViewAngleId");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2018-09-23 20:45:54 -04:00
|
|
|
|
b.HasIndex("HitDestinationId");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2018-09-23 20:45:54 -04:00
|
|
|
|
b.HasIndex("HitOriginId");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2018-09-23 20:45:54 -04:00
|
|
|
|
b.HasIndex("LastStrainAngleId");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFACSnapshot", (string)null);
|
2018-06-05 17:31:36 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientHitStatistic", b =>
|
2019-09-09 18:40:04 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("ClientHitStatisticId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("ClientHitStatisticId"));
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("DamageInflicted")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("DamageReceived")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("DeathCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("HitCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("HitLocationId")
|
|
|
|
|
.HasColumnType("integer");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("KillCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("MeansOfDeathId")
|
|
|
|
|
.HasColumnType("integer");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("ReceivedHitCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Score")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<long?>("ServerId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("bigint");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("SuicideCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("UsageSeconds")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("WeaponAttachmentComboId")
|
|
|
|
|
.HasColumnType("integer");
|
2018-09-04 13:40:29 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("WeaponId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasKey("ClientHitStatisticId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("ClientId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("HitLocationId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("MeansOfDeathId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("WeaponAttachmentComboId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("WeaponId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientHitStatistics", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientRankingHistory", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<long>("ClientRankingHistoryId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("ClientRankingHistoryId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<bool>("Newest")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2020-11-18 10:08:24 -05:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<double?>("PerformanceMetric")
|
|
|
|
|
.HasColumnType("double precision");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("Ranking")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("ServerId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("bigint");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<double?>("ZScore")
|
|
|
|
|
.HasColumnType("double precision");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ClientRankingHistoryId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
2022-06-09 10:56:41 -04:00
|
|
|
|
b.HasIndex("CreatedDateTime");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("Ranking");
|
|
|
|
|
|
2018-05-03 01:25:49 -04:00
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("UpdatedDateTime");
|
2018-09-16 16:34:16 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("ZScore");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientRankingHistory", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientRatingHistory", b =>
|
2018-05-30 21:50:20 -04:00
|
|
|
|
{
|
2018-05-31 20:17:52 -04:00
|
|
|
|
b.Property<int>("RatingHistoryId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("RatingHistoryId"));
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2018-05-31 20:17:52 -04:00
|
|
|
|
b.HasKey("RatingHistoryId");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientRatingHistory", (string)null);
|
2018-05-30 21:50:20 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatistics", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<long>("ServerId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("bigint");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("AverageSnapValue")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Deaths")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("EloRating")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-05-16 00:57:37 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Kills")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("MaxStrain")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("RollingWeightedKDR")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-05-17 19:31:58 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SPM")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("Skill")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("SnapHitCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TimePlayed")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedAt")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("ZScore")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-09-07 23:29:42 -04:00
|
|
|
|
|
2018-05-03 01:25:49 -04:00
|
|
|
|
b.HasKey("ClientId", "ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("ZScore");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId", "TimePlayed", "ZScore");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFClientStatistics", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFHitLocationCount", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("HitLocationCountId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("HitLocationCountId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("EFClientStatisticsClientId")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer")
|
|
|
|
|
.HasColumnName("EFClientStatisticsClientId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<long>("EFClientStatisticsServerId")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("bigint")
|
|
|
|
|
.HasColumnName("EFClientStatisticsServerId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("HitOffsetAverage")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("real");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Location")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("MaxAngleDistance")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("real");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("HitLocationCountId");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.HasIndex("EFClientStatisticsServerId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.HasIndex("EFClientStatisticsClientId", "EFClientStatisticsServerId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFHitLocationCounts", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFRating", b =>
|
2018-05-30 21:50:20 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("RatingId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("RatingId"));
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ActivityAmount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-01 20:55:26 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Newest")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("Performance")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double precision");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Ranking")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("RatingHistoryId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<long?>("ServerId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("bigint");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-09-07 23:29:42 -04:00
|
|
|
|
|
2018-05-31 20:17:52 -04:00
|
|
|
|
b.HasKey("RatingId");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("RatingHistoryId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Performance", "Ranking", "When");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("When", "ServerId", "Performance", "ActivityAmount");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFRating", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFHitLocation", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("HitLocationId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("HitLocationId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("HitLocationId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Name");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFHitLocations", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFMap", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("MapId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("MapId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MapId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFMaps", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFMeansOfDeath", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("MeansOfDeathId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("MeansOfDeathId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MeansOfDeathId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFMeansOfDeath", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFWeapon", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("WeaponId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("WeaponId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("text");
|
2018-05-31 20:17:52 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasKey("WeaponId");
|
2018-09-11 15:28:37 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasIndex("Name");
|
2020-11-14 19:24:51 -05:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFWeapons", (string)null);
|
2018-05-30 21:50:20 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFWeaponAttachment", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("WeaponAttachmentId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("WeaponAttachmentId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-11-27 19:31:48 -05:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Game")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2019-04-23 18:27:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2020-05-22 21:29:41 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasKey("WeaponAttachmentId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFWeaponAttachments", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFWeaponAttachmentCombo", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("WeaponAttachmentComboId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("WeaponAttachmentComboId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Attachment1Id")
|
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Attachment2Id")
|
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Attachment3Id")
|
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasKey("WeaponAttachmentComboId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Attachment1Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Attachment2Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Attachment3Id");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFWeaponAttachmentCombos", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFAlias", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("AliasId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("AliasId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("DateAdded")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int?>("IPAddress")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("LinkId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
2018-09-11 15:28:37 -04:00
|
|
|
|
.IsRequired()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasMaxLength(24)
|
|
|
|
|
.HasColumnType("character varying(24)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-04-04 15:27:22 -04:00
|
|
|
|
b.Property<string>("SearchableIPAddress")
|
|
|
|
|
.ValueGeneratedOnAddOrUpdate()
|
|
|
|
|
.HasColumnType("text")
|
|
|
|
|
.HasComputedColumnSql("((IPAddress & 255) || '.' || ((IPAddress >> 8) & 255)) || '.' || ((IPAddress >> 16) & 255) || '.' || ((IPAddress >> 24) & 255)", true);
|
|
|
|
|
|
2019-08-02 19:04:34 -04:00
|
|
|
|
b.Property<string>("SearchableName")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasMaxLength(24)
|
|
|
|
|
.HasColumnType("character varying(24)");
|
2019-08-02 19:04:34 -04:00
|
|
|
|
|
2018-05-03 01:25:49 -04:00
|
|
|
|
b.HasKey("AliasId");
|
|
|
|
|
|
2019-12-25 15:32:57 -05:00
|
|
|
|
b.HasIndex("IPAddress");
|
|
|
|
|
|
2018-05-03 01:25:49 -04:00
|
|
|
|
b.HasIndex("LinkId");
|
|
|
|
|
|
2019-12-25 15:32:57 -05:00
|
|
|
|
b.HasIndex("Name");
|
|
|
|
|
|
2022-04-04 15:27:22 -04:00
|
|
|
|
b.HasIndex("SearchableIPAddress");
|
|
|
|
|
|
2019-08-02 19:04:34 -04:00
|
|
|
|
b.HasIndex("SearchableName");
|
|
|
|
|
|
2022-01-02 17:19:48 -05:00
|
|
|
|
b.HasIndex("Name", "IPAddress");
|
2019-11-15 15:50:20 -05:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFAlias", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFAliasLink", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("AliasLinkId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("AliasLinkId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("AliasLinkId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFAliasLinks", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFChangeHistory", b =>
|
2018-09-02 17:59:27 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("ChangeHistoryId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("ChangeHistoryId"));
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Comment")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasMaxLength(128)
|
|
|
|
|
.HasColumnType("character varying(128)");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("CurrentValue")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2018-09-12 20:53:11 -04:00
|
|
|
|
|
2020-04-26 22:12:49 -04:00
|
|
|
|
b.Property<int?>("ImpersonationEntityId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2020-04-26 22:12:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("OriginEntityId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("PreviousValue")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2018-09-12 20:53:11 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TargetEntityId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("TimeChanged")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TypeOfChange")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("ChangeHistoryId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFChangeHistory");
|
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFMeta", b =>
|
2018-06-02 00:48:10 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("MetaId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("MetaId"));
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2021-01-24 12:47:19 -05:00
|
|
|
|
b.Property<int?>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("Created")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("Extra")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Key")
|
2019-04-23 18:27:20 -04:00
|
|
|
|
.IsRequired()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasMaxLength(32)
|
|
|
|
|
.HasColumnType("character varying(32)");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2021-01-24 12:47:19 -05:00
|
|
|
|
b.Property<int?>("LinkedMetaId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("Updated")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Value")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.IsRequired()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("MetaId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
2019-02-22 20:06:51 -05:00
|
|
|
|
b.HasIndex("Key");
|
|
|
|
|
|
2021-01-24 12:47:19 -05:00
|
|
|
|
b.HasIndex("LinkedMetaId");
|
|
|
|
|
|
2018-06-02 00:48:10 -04:00
|
|
|
|
b.ToTable("EFMeta");
|
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFPenalty", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("PenaltyId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("PenaltyId"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("AutomatedOffense")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime?>("Expires")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("IsEvadedOffense")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("boolean");
|
2018-12-16 22:16:56 -05:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.Property<int?>("LinkId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("OffenderId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Offense")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.IsRequired()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("text");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("PunisherId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Type")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("integer");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("PenaltyId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("LinkId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("OffenderId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("PunisherId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFPenalties", (string)null);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.EFPenaltyIdentifier", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("PenaltyIdentifierId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("PenaltyIdentifierId"));
|
|
|
|
|
|
2022-02-23 10:02:01 -05:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Property<int?>("IPv4Address")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("NetworkId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PenaltyId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
2022-02-23 10:02:01 -05:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.HasKey("PenaltyIdentifierId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IPv4Address");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("NetworkId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("PenaltyId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFPenaltyIdentifiers", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-07-08 22:12:09 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Misc.EFInboxMessage", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("InboxMessageId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("InboxMessageId"));
|
2021-07-08 22:12:09 -04:00
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DestinationClientId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDelivered")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Message")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SourceClientId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.HasKey("InboxMessageId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("DestinationClientId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("SourceClientId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("InboxMessages");
|
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Server.EFServer", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("EndPoint")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("GameName")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("HostName")
|
|
|
|
|
.HasColumnType("text");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsPasswordProtected")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Port")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ServerId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFServers", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-08-26 18:35:05 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Server.EFServerSnapshot", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("ServerSnapshotId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("ServerSnapshotId"));
|
2021-08-26 18:35:05 -04:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CapturedAt")
|
|
|
|
|
.HasColumnType("timestamp without time zone");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientCount")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
2022-03-29 17:42:53 -04:00
|
|
|
|
b.Property<bool?>("ConnectionInterrupted")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
2021-08-26 18:35:05 -04:00
|
|
|
|
b.Property<int>("MapId")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PeriodBlock")
|
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ServerSnapshotId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("MapId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFServerSnapshot", (string)null);
|
2021-08-26 18:35:05 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Server.EFServerStatistics", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("StatisticId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("StatisticId"));
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("boolean");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalKills")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalPlayTime")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.HasKey("StatisticId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFServerStatistics", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Vector3", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Vector3Id")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasColumnType("integer");
|
|
|
|
|
|
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Vector3Id"));
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("X")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("real");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("Y")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("real");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("Z")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("real");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("Vector3Id");
|
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("Vector3", (string)null);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFACSnapshotVector3", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.EFACSnapshot", "Snapshot")
|
|
|
|
|
.WithMany("PredictedViewAngles")
|
|
|
|
|
.HasForeignKey("SnapshotId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Vector3", "Vector")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("Vector3Id")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Snapshot");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Vector");
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClient", b =>
|
2018-06-05 17:31:36 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.EFAliasLink", "AliasLink")
|
2018-06-05 17:31:36 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("AliasLinkId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.EFAlias", "CurrentAlias")
|
2018-06-05 17:31:36 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("CurrentAliasId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("AliasLink");
|
|
|
|
|
|
|
|
|
|
b.Navigation("CurrentAlias");
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-08-31 19:21:40 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientConnectionHistory", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ClientId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2021-08-31 19:21:40 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientKill", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Attacker")
|
2018-06-05 17:31:36 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("AttackerId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Vector3", "DeathOrigin")
|
2018-06-05 17:31:36 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("DeathOriginVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Vector3", "KillOrigin")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("KillOriginVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Victim")
|
2018-06-05 17:31:36 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("VictimId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Vector3", "ViewAngles")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ViewAnglesVector3Id");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Attacker");
|
|
|
|
|
|
|
|
|
|
b.Navigation("DeathOrigin");
|
|
|
|
|
|
|
|
|
|
b.Navigation("KillOrigin");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Victim");
|
|
|
|
|
|
|
|
|
|
b.Navigation("ViewAngles");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientMessage", b =>
|
2019-09-09 18:40:04 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
2019-09-09 18:40:04 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("ServerId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFACSnapshot", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Vector3", "CurrentViewAngle")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("CurrentViewAngleId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Vector3", "HitDestination")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("HitDestinationId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Vector3", "HitOrigin")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("HitOriginId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Vector3", "LastStrainAngle")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("LastStrainAngleId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-06-29 16:02:01 -04:00
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("CurrentViewAngle");
|
|
|
|
|
|
|
|
|
|
b.Navigation("HitDestination");
|
|
|
|
|
|
|
|
|
|
b.Navigation("HitOrigin");
|
|
|
|
|
|
|
|
|
|
b.Navigation("LastStrainAngle");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientHitStatistic", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFHitLocation", "HitLocation")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("HitLocationId");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFMeansOfDeath", "MeansOfDeath")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("MeansOfDeathId");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFWeaponAttachmentCombo", "WeaponAttachmentCombo")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("WeaponAttachmentComboId");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFWeapon", "Weapon")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("WeaponId");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("HitLocation");
|
|
|
|
|
|
|
|
|
|
b.Navigation("MeansOfDeath");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Weapon");
|
|
|
|
|
|
|
|
|
|
b.Navigation("WeaponAttachmentCombo");
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientRankingHistory", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientRatingHistory", b =>
|
2018-05-30 21:50:20 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
2018-05-30 21:50:20 -04:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatistics", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFHitLocationCount", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasForeignKey("EFClientStatisticsClientId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasForeignKey("EFClientStatisticsServerId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.Stats.EFClientStatistics", null)
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany("HitLocations")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasForeignKey("EFClientStatisticsClientId", "EFClientStatisticsServerId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFRating", b =>
|
2018-05-30 21:50:20 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.Stats.EFClientRatingHistory", "RatingHistory")
|
2018-05-30 21:50:20 -04:00
|
|
|
|
.WithMany("Ratings")
|
2018-05-31 20:17:52 -04:00
|
|
|
|
.HasForeignKey("RatingHistoryId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
2018-05-31 20:17:52 -04:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("RatingHistory");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFWeaponAttachmentCombo", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFWeaponAttachment", "Attachment1")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany()
|
2021-03-22 12:09:25 -04:00
|
|
|
|
.HasForeignKey("Attachment1Id")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFWeaponAttachment", "Attachment2")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("Attachment2Id");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFWeaponAttachment", "Attachment3")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("Attachment3Id");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Attachment1");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Attachment2");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Attachment3");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFAlias", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.EFAliasLink", "Link")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany("Children")
|
|
|
|
|
.HasForeignKey("LinkId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Link");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFMeta", b =>
|
2018-06-02 00:48:10 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Client")
|
2018-06-02 00:48:10 -04:00
|
|
|
|
.WithMany("Meta")
|
2021-01-24 12:47:19 -05:00
|
|
|
|
.HasForeignKey("ClientId");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.EFMeta", "LinkedMeta")
|
2021-01-24 12:47:19 -05:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("LinkedMetaId")
|
|
|
|
|
.OnDelete(DeleteBehavior.SetNull);
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Client");
|
|
|
|
|
|
|
|
|
|
b.Navigation("LinkedMeta");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.EFPenalty", b =>
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.EFAliasLink", "Link")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany("ReceivedPenalties")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasForeignKey("LinkId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Offender")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany("ReceivedPenalties")
|
|
|
|
|
.HasForeignKey("OffenderId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
.IsRequired();
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "Punisher")
|
2018-05-03 01:25:49 -04:00
|
|
|
|
.WithMany("AdministeredPenalties")
|
|
|
|
|
.HasForeignKey("PunisherId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Link");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Offender");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Punisher");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.EFPenaltyIdentifier", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.EFPenalty", "Penalty")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("PenaltyId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.Navigation("Penalty");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
});
|
2021-03-22 12:09:25 -04:00
|
|
|
|
|
2021-07-08 22:12:09 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Misc.EFInboxMessage", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "DestinationClient")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("DestinationClientId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Client.EFClient", "SourceClient")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("SourceClientId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("DestinationClient");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
|
|
|
|
|
|
|
|
|
b.Navigation("SourceClient");
|
2021-07-08 22:12:09 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-08-26 18:35:05 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Server.EFServerSnapshot", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Client.Stats.Reference.EFMap", "Map")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("MapId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Map");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
2021-08-26 18:35:05 -04:00
|
|
|
|
});
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Server.EFServerStatistics", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Data.Models.Server.EFServer", "Server")
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("ServerId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Navigation("Server");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClient", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Navigation("AdministeredPenalties");
|
|
|
|
|
|
|
|
|
|
b.Navigation("Meta");
|
|
|
|
|
|
|
|
|
|
b.Navigation("ReceivedPenalties");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFACSnapshot", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Navigation("PredictedViewAngles");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientRatingHistory", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Navigation("Ratings");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.EFClientStatistics", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Navigation("HitLocations");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.EFAliasLink", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Navigation("Children");
|
|
|
|
|
|
|
|
|
|
b.Navigation("ReceivedPenalties");
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
2018-05-03 01:25:49 -04:00
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|