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;
|
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.Sqlite
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2020-11-27 22:52:52 -05:00
|
|
|
|
[DbContext(typeof(SqliteDatabaseContext))]
|
|
|
|
|
partial class SqliteDatabaseContextModelSnapshot : ModelSnapshot
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
2022-02-22 18:09:50 -05:00
|
|
|
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.1");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFACSnapshotVector3", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("ACSnapshotVector3Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SnapshotId")
|
|
|
|
|
.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")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("AliasLinkId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Connections")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("CurrentAliasId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("FirstConnection")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
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("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Level")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Masked")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("NetworkId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ConnectionType")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
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("REAL");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("HitLoc")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsKill")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("KillOriginVector3Id")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Map")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("VictimId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("ViewAnglesVector3Id")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("VisibilityPercentage")
|
|
|
|
|
.HasColumnType("REAL");
|
|
|
|
|
|
|
|
|
|
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("TEXT");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Message")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("SentIngame")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("TimeSent")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
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 =>
|
2018-06-05 17:31:36 -04:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("SnapshotId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("CurrentSessionLength")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("CurrentStrain")
|
|
|
|
|
.HasColumnType("REAL");
|
2019-09-27 16:53:52 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("CurrentViewAngleId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Deaths")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("Distance")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("EloRating")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitDestinationId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitLocation")
|
|
|
|
|
.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")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitType")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Hits")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Kills")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("LastStrainAngleId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("RecoilOffset")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<long?>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SessionAngleOffset")
|
|
|
|
|
.HasColumnType("REAL");
|
2019-06-15 18:37:43 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SessionAverageSnapValue")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SessionSPM")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("SessionScore")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("SessionSnapHits")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2019-09-27 16:53:52 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("StrainAngleBetween")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TimeSinceLastEvent")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("WeaponId")
|
|
|
|
|
.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")
|
|
|
|
|
.HasColumnType("TEXT");
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
2019-12-25 15:32:57 -05:00
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("DamageInflicted")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("DamageReceived")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("DeathCount")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("HitCount")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("HitLocationId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("KillCount")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("MeansOfDeathId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("ReceivedHitCount")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Score")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<long?>("ServerId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("SuicideCount")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("UsageSeconds")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
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
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("WeaponId")
|
2019-10-07 11:26:07 -04: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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<bool>("Newest")
|
2020-11-18 10:08:24 -05:00
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<double?>("PerformanceMetric")
|
|
|
|
|
.HasColumnType("REAL");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("Ranking")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<long?>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<double?>("ZScore")
|
|
|
|
|
.HasColumnType("REAL");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.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")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("AverageSnapValue")
|
|
|
|
|
.HasColumnType("REAL");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Deaths")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("EloRating")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-16 00:57:37 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Kills")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("MaxStrain")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("RollingWeightedKDR")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-17 19:31:58 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("SPM")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("Skill")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("SnapHitCount")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TimePlayed")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedAt")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("ZScore")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("REAL");
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
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("INTEGER")
|
|
|
|
|
.HasColumnName("EFClientStatisticsServerId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitCount")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("HitOffsetAverage")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Location")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("MaxAngleDistance")
|
|
|
|
|
.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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("ActivityAmount")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-01 20:55:26 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Newest")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<double>("Performance")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Ranking")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("RatingHistoryId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("When")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("RatingId");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MeansOfDeathId");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.ToTable("EFMeansOfDeath", (string)null);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFWeapon", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("WeaponId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("TEXT");
|
2018-09-07 23:29:42 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
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("TEXT");
|
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()
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("TEXT");
|
2018-11-27 19:31:48 -05:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Game")
|
2019-10-07 11:26:07 -04: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-05-22 21:29:41 -04:00
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Attachment1Id")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Attachment2Id")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Attachment3Id")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.HasKey("WeaponAttachmentComboId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("DateAdded")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int?>("IPAddress")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("LinkId")
|
|
|
|
|
.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("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2022-04-04 15:27:22 -04:00
|
|
|
|
b.Property<string>("SearchableIPAddress")
|
|
|
|
|
.ValueGeneratedOnAddOrUpdate()
|
2023-07-05 09:33:20 -04:00
|
|
|
|
.HasMaxLength(255)
|
2022-04-04 15:27:22 -04:00
|
|
|
|
.HasColumnType("TEXT")
|
2022-04-22 17:03:34 -04:00
|
|
|
|
.HasComputedColumnSql("((IPAddress & 255) || '.' || ((IPAddress >> 8) & 255)) || '.' || ((IPAddress >> 16) & 255) || '.' || ((IPAddress >> 24) & 255)", true);
|
2022-04-04 15:27:22 -04:00
|
|
|
|
|
2019-08-02 19:04:34 -04:00
|
|
|
|
b.Property<string>("SearchableName")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasMaxLength(24)
|
|
|
|
|
.HasColumnType("TEXT");
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Comment")
|
2022-02-22 18:09:50 -05:00
|
|
|
|
.HasMaxLength(128)
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("CurrentValue")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-09-12 20:53:11 -04:00
|
|
|
|
|
2020-04-26 22:12:49 -04:00
|
|
|
|
b.Property<int?>("ImpersonationEntityId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("OriginEntityId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("PreviousValue")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-09-12 20:53:11 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TargetEntityId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("TimeChanged")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("TypeOfChange")
|
|
|
|
|
.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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2021-01-24 12:47:19 -05:00
|
|
|
|
b.Property<int?>("ClientId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("Extra")
|
|
|
|
|
.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("TEXT");
|
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")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Value")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.IsRequired()
|
|
|
|
|
.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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("AutomatedOffense")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-30 21:50:20 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime?>("Expires")
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<bool>("IsEvadedOffense")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-12-16 22:16:56 -05:00
|
|
|
|
|
2022-02-22 18:09:50 -05:00
|
|
|
|
b.Property<int?>("LinkId")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("OffenderId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Offense")
|
2019-10-07 11:26:07 -04:00
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("PunisherId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("Type")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
|
|
|
|
.HasColumnType("TEXT");
|
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");
|
|
|
|
|
|
2022-02-23 10:02:01 -05:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
2022-02-22 18:09:50 -05:00
|
|
|
|
|
|
|
|
|
b.Property<int?>("IPv4Address")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("NetworkId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PenaltyId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2022-02-23 10:02:01 -05:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DestinationClientId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDelivered")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Message")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SourceClientId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
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("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("EndPoint")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("GameName")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("HostName")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsPasswordProtected")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CapturedAt")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientCount")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2022-03-29 17:42:53 -04:00
|
|
|
|
b.Property<bool?>("ConnectionInterrupted")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
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("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ServerSnapshotId");
|
|
|
|
|
|
2023-07-05 09:33:20 -04:00
|
|
|
|
b.HasIndex("CapturedAt");
|
|
|
|
|
|
2021-08-26 18:35:05 -04:00
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalKills")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalPlayTime")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
.HasColumnType("INTEGER");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("X")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("Y")
|
|
|
|
|
.HasColumnType("REAL");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<float>("Z")
|
|
|
|
|
.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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|