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
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
namespace Data.Migrations.MySql
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
2020-11-27 22:52:52 -05:00
|
|
|
|
[DbContext(typeof(MySqlDatabaseContext))]
|
|
|
|
|
partial class MySqlDatabaseContextModelSnapshot : ModelSnapshot
|
2018-05-03 01:25:49 -04:00
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder
|
2021-01-24 12:47:19 -05:00
|
|
|
|
.HasAnnotation("ProductVersion", "3.1.10")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
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("int");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SnapshotId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Vector3Id")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ACSnapshotVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("SnapshotId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Vector3Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFACSnapshotVector3");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClient", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("AliasLinkId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Connections")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("CurrentAliasId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("FirstConnection")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("LastConnection")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Level")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Masked")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("NetworkId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Password")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PasswordSalt")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TotalConnectionTime")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ClientId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("AliasLinkId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("CurrentAliasId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("NetworkId")
|
|
|
|
|
.IsUnique();
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFClients");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientKill", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("KillId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("AttackerId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Damage")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("DeathOriginVector3Id")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DeathType")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("Fraction")
|
|
|
|
|
.HasColumnType("double");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("HitLoc")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsKill")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("KillOriginVector3Id")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Map")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("VictimId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("ViewAnglesVector3Id")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("VisibilityPercentage")
|
|
|
|
|
.HasColumnType("double");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Weapon")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<string>("WeaponReference")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("KillId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("AttackerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("DeathOriginVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("KillOriginVector3Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("VictimId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ViewAnglesVector3Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFClientKills");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.EFClientMessage", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("MessageId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ClientId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Message")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("SentIngame")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("TimeSent")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MessageId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("TimeSent");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFClientMessages");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
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("int");
|
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("int");
|
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");
|
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("int");
|
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("int");
|
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");
|
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");
|
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("int");
|
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("int");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<string>("HitLocationReference")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("HitOriginId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("int");
|
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("int");
|
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("int");
|
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("int");
|
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");
|
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");
|
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");
|
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");
|
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("int");
|
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("int");
|
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");
|
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("int");
|
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("int");
|
2018-06-05 17:31:36 -04:00
|
|
|
|
|
2021-06-29 16:02:01 -04:00
|
|
|
|
b.Property<string>("WeaponReference")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("When")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("datetime(6)");
|
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");
|
|
|
|
|
|
2018-06-05 17:31:36 -04:00
|
|
|
|
b.ToTable("EFACSnapshot");
|
|
|
|
|
});
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("int");
|
2019-09-09 18:40:04 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
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("int");
|
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("int");
|
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("int");
|
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("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("HitLocationId")
|
|
|
|
|
.HasColumnType("int");
|
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("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("MeansOfDeathId")
|
|
|
|
|
.HasColumnType("int");
|
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("int");
|
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("int");
|
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("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("UsageSeconds")
|
|
|
|
|
.HasColumnType("int");
|
2018-09-04 13:40:29 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("WeaponAttachmentComboId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("WeaponId")
|
|
|
|
|
.HasColumnType("int");
|
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
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.ToTable("EFClientHitStatistics");
|
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()
|
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<int>("ClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
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("tinyint(1)");
|
2020-11-18 10:08:24 -05:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<double?>("PerformanceMetric")
|
|
|
|
|
.HasColumnType("double");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("Ranking")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
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("datetime(6)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<double?>("ZScore")
|
|
|
|
|
.HasColumnType("double");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ClientRankingHistoryId");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasIndex("ClientId");
|
|
|
|
|
|
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");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFClientRankingHistory");
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
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("int");
|
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");
|
|
|
|
|
|
2018-05-31 20:17:52 -04:00
|
|
|
|
b.ToTable("EFClientRatingHistory");
|
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("int");
|
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("tinyint(1)");
|
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");
|
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("int");
|
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");
|
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("int");
|
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");
|
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");
|
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");
|
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");
|
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("int");
|
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("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedAt")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<double>("ZScore")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("double");
|
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");
|
|
|
|
|
|
2018-05-03 01:25:49 -04:00
|
|
|
|
b.ToTable("EFClientStatistics");
|
|
|
|
|
});
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("EFClientStatisticsClientId")
|
|
|
|
|
.HasColumnName("EFClientStatisticsClientId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<long>("EFClientStatisticsServerId")
|
|
|
|
|
.HasColumnName("EFClientStatisticsServerId")
|
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<int>("HitCount")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("float");
|
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("int");
|
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("float");
|
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
|
|
|
|
|
|
|
|
|
b.ToTable("EFHitLocationCounts");
|
|
|
|
|
});
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
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("int");
|
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("tinyint(1)");
|
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");
|
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("int");
|
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("int");
|
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("datetime(6)");
|
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");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFRating");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFHitLocation", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("HitLocationId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("varchar(255) CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("HitLocationId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Name");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFHitLocations");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFMap", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("MapId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MapId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFMaps");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFMeansOfDeath", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("MeansOfDeathId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("MeansOfDeathId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFMeansOfDeath");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Client.Stats.Reference.EFWeapon", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("WeaponId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("varchar(255) CHARACTER SET utf8mb4");
|
2018-05-31 20:17:52 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
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
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.ToTable("EFWeapons");
|
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()
|
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
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("int");
|
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("longtext CHARACTER SET utf8mb4");
|
2020-05-22 21:29:41 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
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
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.ToTable("EFWeaponAttachments");
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Attachment1Id")
|
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Attachment2Id")
|
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int?>("Attachment3Id")
|
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime>("CreatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<int>("Game")
|
|
|
|
|
.HasColumnType("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
b.Property<DateTime?>("UpdatedDateTime")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
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");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFWeaponAttachmentCombos");
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
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("datetime(6)");
|
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("int");
|
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("int");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
2018-09-11 15:28:37 -04:00
|
|
|
|
.IsRequired()
|
2021-01-24 12:47:19 -05:00
|
|
|
|
.HasColumnType("varchar(24) CHARACTER SET utf8mb4")
|
2018-09-11 15:28:37 -04:00
|
|
|
|
.HasMaxLength(24);
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
2019-08-02 19:04:34 -04:00
|
|
|
|
b.Property<string>("SearchableName")
|
2021-01-24 12:47:19 -05:00
|
|
|
|
.HasColumnType("varchar(24) CHARACTER SET utf8mb4")
|
2019-08-02 19:04:34 -04:00
|
|
|
|
.HasMaxLength(24);
|
|
|
|
|
|
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");
|
|
|
|
|
|
2019-08-02 19:04:34 -04:00
|
|
|
|
b.HasIndex("SearchableName");
|
|
|
|
|
|
2019-11-15 15:50:20 -05:00
|
|
|
|
b.HasIndex("Name", "IPAddress")
|
|
|
|
|
.IsUnique();
|
|
|
|
|
|
2018-05-03 01:25:49 -04:00
|
|
|
|
b.ToTable("EFAlias");
|
|
|
|
|
});
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("AliasLinkId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFAliasLinks");
|
|
|
|
|
});
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
2018-09-02 17:59:27 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Comment")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("varchar(128) CHARACTER SET utf8mb4")
|
2018-09-02 17:59:27 -04:00
|
|
|
|
.HasMaxLength(128);
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<string>("CurrentValue")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
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("int");
|
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("int");
|
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("longtext CHARACTER SET utf8mb4");
|
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("int");
|
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("datetime(6)");
|
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("int");
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
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("int");
|
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("datetime(6)");
|
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("longtext CHARACTER SET utf8mb4");
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Key")
|
2019-04-23 18:27:20 -04:00
|
|
|
|
.IsRequired()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("varchar(32) CHARACTER SET utf8mb4")
|
2019-04-23 18:27:20 -04:00
|
|
|
|
.HasMaxLength(32);
|
2018-06-02 00:48:10 -04:00
|
|
|
|
|
2021-01-24 12:47:19 -05:00
|
|
|
|
b.Property<int?>("LinkedMetaId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<DateTime>("Updated")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("datetime(6)");
|
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("longtext CHARACTER SET utf8mb4");
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("tinyint(1)");
|
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("longtext CHARACTER SET utf8mb4");
|
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("datetime(6)");
|
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("tinyint(1)");
|
2018-12-16 22:16:56 -05:00
|
|
|
|
|
2019-10-07 11:26:07 -04:00
|
|
|
|
b.Property<int>("LinkId")
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("int");
|
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("longtext CHARACTER SET utf8mb4");
|
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("int");
|
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("int");
|
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("datetime(6)");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("PenaltyId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("LinkId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("OffenderId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("PunisherId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFPenalties");
|
|
|
|
|
});
|
|
|
|
|
|
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("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("EndPoint")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("GameName")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("HostName")
|
|
|
|
|
.HasColumnType("longtext CHARACTER SET utf8mb4");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsPasswordProtected")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Port")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.HasKey("ServerId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFServers");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Data.Models.Server.EFServerStatistics", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("StatisticId")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Active")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ServerId")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalKills")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalPlayTime")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.HasKey("StatisticId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ServerId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("EFServerStatistics");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
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()
|
2020-11-27 22:52:52 -05:00
|
|
|
|
.HasColumnType("int");
|
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("float");
|
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("float");
|
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("float");
|
2018-05-03 01:25:49 -04:00
|
|
|
|
|
|
|
|
|
b.HasKey("Vector3Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Vector3");
|
|
|
|
|
});
|
|
|
|
|
|
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();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
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();
|
2021-03-22 12:09:25 -04:00
|
|
|
|
});
|
2018-06-05 17:31:36 -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");
|
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();
|
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");
|
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");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
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");
|
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();
|
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();
|
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();
|
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");
|
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");
|
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();
|
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);
|
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")
|
|
|
|
|
.HasForeignKey("LinkId")
|
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.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();
|
2018-05-03 01:25:49 -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();
|
|
|
|
|
});
|
2018-05-03 01:25:49 -04:00
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|