16#pragma warning disable 612, 618
18 .HasAnnotation(
"ProductVersion",
"3.1.10");
20 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatBot", b =>
22 b.Property<
long>(
"Id")
23 .ValueGeneratedOnAdd()
24 .HasColumnType(
"INTEGER");
26 b.Property<ushort?>(
"ChannelLimit")
28 .HasColumnType(
"INTEGER");
30 b.Property<
string>(
"ConnectionString")
32 .HasColumnType(
"TEXT")
35 b.Property<
bool?>(
"Enabled")
36 .HasColumnType(
"INTEGER");
38 b.Property<
long>(
"InstanceId")
39 .HasColumnType(
"INTEGER");
41 b.Property<
string>(
"Name")
43 .HasColumnType(
"TEXT")
46 b.Property<
int>(
"Provider")
47 .HasColumnType(
"INTEGER");
49 b.Property<uint?>(
"ReconnectionInterval")
51 .HasColumnType(
"INTEGER");
55 b.HasIndex(
"InstanceId",
"Name")
58 b.ToTable(
"ChatBots");
61 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatChannel", b =>
63 b.Property<
long>(
"Id")
64 .ValueGeneratedOnAdd()
65 .HasColumnType(
"INTEGER");
67 b.Property<
long>(
"ChatSettingsId")
68 .HasColumnType(
"INTEGER");
70 b.Property<ulong?>(
"DiscordChannelId")
71 .HasColumnType(
"INTEGER");
73 b.Property<
string>(
"IrcChannel")
74 .HasColumnType(
"TEXT")
77 b.Property<
bool?>(
"IsAdminChannel")
79 .HasColumnType(
"INTEGER");
81 b.Property<
bool?>(
"IsUpdatesChannel")
83 .HasColumnType(
"INTEGER");
85 b.Property<
bool?>(
"IsWatchdogChannel")
87 .HasColumnType(
"INTEGER");
89 b.Property<
string>(
"Tag")
90 .HasColumnType(
"TEXT")
95 b.HasIndex(
"ChatSettingsId",
"DiscordChannelId")
98 b.HasIndex(
"ChatSettingsId",
"IrcChannel")
101 b.ToTable(
"ChatChannels");
104 modelBuilder.Entity(
"Tgstation.Server.Host.Models.CompileJob", b =>
106 b.Property<
long>(
"Id")
107 .ValueGeneratedOnAdd()
108 .HasColumnType(
"INTEGER");
110 b.Property<
string>(
"ByondVersion")
112 .HasColumnType(
"TEXT");
114 b.Property<
int?>(
"DMApiMajorVersion")
115 .HasColumnType(
"INTEGER");
117 b.Property<
int?>(
"DMApiMinorVersion")
118 .HasColumnType(
"INTEGER");
120 b.Property<
int?>(
"DMApiPatchVersion")
121 .HasColumnType(
"INTEGER");
123 b.Property<Guid?>(
"DirectoryName")
125 .HasColumnType(
"TEXT");
127 b.Property<
string>(
"DmeName")
129 .HasColumnType(
"TEXT");
131 b.Property<
int?>(
"GitHubDeploymentId")
132 .HasColumnType(
"INTEGER");
134 b.Property<
long?>(
"GitHubRepoId")
135 .HasColumnType(
"INTEGER");
137 b.Property<
long>(
"JobId")
138 .HasColumnType(
"INTEGER");
140 b.Property<
int?>(
"MinimumSecurityLevel")
141 .HasColumnType(
"INTEGER");
143 b.Property<
string>(
"Output")
145 .HasColumnType(
"TEXT");
147 b.Property<
string>(
"RepositoryOrigin")
148 .HasColumnType(
"TEXT");
150 b.Property<
long>(
"RevisionInformationId")
151 .HasColumnType(
"INTEGER");
155 b.HasIndex(
"DirectoryName");
160 b.HasIndex(
"RevisionInformationId");
162 b.ToTable(
"CompileJobs");
165 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
167 b.Property<
long>(
"Id")
168 .ValueGeneratedOnAdd()
169 .HasColumnType(
"INTEGER");
171 b.Property<
string>(
"AdditionalParameters")
173 .HasColumnType(
"TEXT")
174 .HasMaxLength(10000);
176 b.Property<
bool?>(
"AllowWebClient")
178 .HasColumnType(
"INTEGER");
180 b.Property<
bool?>(
"AutoStart")
182 .HasColumnType(
"INTEGER");
184 b.Property<uint?>(
"HeartbeatSeconds")
186 .HasColumnType(
"INTEGER");
188 b.Property<
long>(
"InstanceId")
189 .HasColumnType(
"INTEGER");
191 b.Property<ushort?>(
"Port")
193 .HasColumnType(
"INTEGER");
195 b.Property<
int>(
"SecurityLevel")
196 .HasColumnType(
"INTEGER");
198 b.Property<uint?>(
"StartupTimeout")
200 .HasColumnType(
"INTEGER");
202 b.Property<uint?>(
"TopicRequestTimeout")
204 .HasColumnType(
"INTEGER");
208 b.HasIndex(
"InstanceId")
211 b.ToTable(
"DreamDaemonSettings");
214 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
216 b.Property<
long>(
"Id")
217 .ValueGeneratedOnAdd()
218 .HasColumnType(
"INTEGER");
220 b.Property<ushort?>(
"ApiValidationPort")
222 .HasColumnType(
"INTEGER");
224 b.Property<
int>(
"ApiValidationSecurityLevel")
225 .HasColumnType(
"INTEGER");
227 b.Property<
long>(
"InstanceId")
228 .HasColumnType(
"INTEGER");
230 b.Property<
string>(
"ProjectName")
231 .HasColumnType(
"TEXT")
232 .HasMaxLength(10000);
234 b.Property<
bool?>(
"RequireDMApiValidation")
236 .HasColumnType(
"INTEGER");
240 b.HasIndex(
"InstanceId")
243 b.ToTable(
"DreamMakerSettings");
246 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Instance", b =>
248 b.Property<
long>(
"Id")
249 .ValueGeneratedOnAdd()
250 .HasColumnType(
"INTEGER");
252 b.Property<uint?>(
"AutoUpdateInterval")
254 .HasColumnType(
"INTEGER");
256 b.Property<ushort?>(
"ChatBotLimit")
258 .HasColumnType(
"INTEGER");
260 b.Property<
int>(
"ConfigurationType")
261 .HasColumnType(
"INTEGER");
263 b.Property<
string>(
"Name")
265 .HasColumnType(
"TEXT")
266 .HasMaxLength(10000);
268 b.Property<
bool?>(
"Online")
270 .HasColumnType(
"INTEGER");
272 b.Property<
string>(
"Path")
274 .HasColumnType(
"TEXT");
281 b.ToTable(
"Instances");
284 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstancePermissionSet", b =>
286 b.Property<
long>(
"Id")
287 .ValueGeneratedOnAdd()
288 .HasColumnType(
"INTEGER");
290 b.Property<ulong>(
"ByondRights")
291 .HasColumnType(
"INTEGER");
293 b.Property<ulong>(
"ChatBotRights")
294 .HasColumnType(
"INTEGER");
296 b.Property<ulong>(
"ConfigurationRights")
297 .HasColumnType(
"INTEGER");
299 b.Property<ulong>(
"DreamDaemonRights")
300 .HasColumnType(
"INTEGER");
302 b.Property<ulong>(
"DreamMakerRights")
303 .HasColumnType(
"INTEGER");
305 b.Property<
long>(
"InstanceId")
306 .HasColumnType(
"INTEGER");
308 b.Property<ulong>(
"InstancePermissionSetRights")
309 .HasColumnType(
"INTEGER");
311 b.Property<
long>(
"PermissionSetId")
312 .HasColumnType(
"INTEGER");
314 b.Property<ulong>(
"RepositoryRights")
315 .HasColumnType(
"INTEGER");
319 b.HasIndex(
"InstanceId");
321 b.HasIndex(
"PermissionSetId",
"InstanceId")
324 b.ToTable(
"InstancePermissionSets");
327 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
329 b.Property<
long>(
"Id")
330 .ValueGeneratedOnAdd()
331 .HasColumnType(
"INTEGER");
333 b.Property<ulong?>(
"CancelRight")
334 .HasColumnType(
"INTEGER");
336 b.Property<ulong?>(
"CancelRightsType")
337 .HasColumnType(
"INTEGER");
339 b.Property<
bool?>(
"Cancelled")
341 .HasColumnType(
"INTEGER");
343 b.Property<
long?>(
"CancelledById")
344 .HasColumnType(
"INTEGER");
346 b.Property<
string>(
"Description")
348 .HasColumnType(
"TEXT");
350 b.Property<uint?>(
"ErrorCode")
351 .HasColumnType(
"INTEGER");
353 b.Property<
string>(
"ExceptionDetails")
354 .HasColumnType(
"TEXT");
356 b.Property<
long>(
"InstanceId")
357 .HasColumnType(
"INTEGER");
359 b.Property<DateTimeOffset?>(
"StartedAt")
361 .HasColumnType(
"TEXT");
363 b.Property<
long>(
"StartedById")
364 .HasColumnType(
"INTEGER");
366 b.Property<DateTimeOffset?>(
"StoppedAt")
367 .HasColumnType(
"TEXT");
371 b.HasIndex(
"CancelledById");
373 b.HasIndex(
"InstanceId");
375 b.HasIndex(
"StartedById");
380 modelBuilder.Entity(
"Tgstation.Server.Host.Models.OAuthConnection", b =>
382 b.Property<
long>(
"Id")
383 .ValueGeneratedOnAdd()
384 .HasColumnType(
"INTEGER");
386 b.Property<
string>(
"ExternalUserId")
388 .HasColumnType(
"TEXT")
391 b.Property<
int>(
"Provider")
392 .HasColumnType(
"INTEGER");
394 b.Property<
long?>(
"UserId")
395 .HasColumnType(
"INTEGER");
399 b.HasIndex(
"UserId");
401 b.HasIndex(
"Provider",
"ExternalUserId")
404 b.ToTable(
"OAuthConnections");
407 modelBuilder.Entity(
"Tgstation.Server.Host.Models.PermissionSet", b =>
409 b.Property<
long?>(
"Id")
410 .ValueGeneratedOnAdd()
411 .HasColumnType(
"INTEGER");
413 b.Property<ulong>(
"AdministrationRights")
414 .HasColumnType(
"INTEGER");
416 b.Property<
long?>(
"GroupId")
417 .HasColumnType(
"INTEGER");
419 b.Property<ulong>(
"InstanceManagerRights")
420 .HasColumnType(
"INTEGER");
422 b.Property<
long?>(
"UserId")
423 .HasColumnType(
"INTEGER");
427 b.HasIndex(
"GroupId")
433 b.ToTable(
"PermissionSets");
436 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
438 b.Property<
long>(
"Id")
439 .ValueGeneratedOnAdd()
440 .HasColumnType(
"INTEGER");
442 b.Property<
string>(
"AccessIdentifier")
444 .HasColumnType(
"TEXT");
446 b.Property<
long>(
"CompileJobId")
447 .HasColumnType(
"INTEGER");
449 b.Property<
int>(
"LaunchSecurityLevel")
450 .HasColumnType(
"INTEGER");
452 b.Property<ushort>(
"Port")
453 .HasColumnType(
"INTEGER");
455 b.Property<
int>(
"ProcessId")
456 .HasColumnType(
"INTEGER");
458 b.Property<
int>(
"RebootState")
459 .HasColumnType(
"INTEGER");
463 b.HasIndex(
"CompileJobId");
465 b.ToTable(
"ReattachInformations");
468 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
470 b.Property<
long>(
"Id")
471 .ValueGeneratedOnAdd()
472 .HasColumnType(
"INTEGER");
474 b.Property<
string>(
"AccessToken")
475 .HasColumnType(
"TEXT")
476 .HasMaxLength(10000);
478 b.Property<
string>(
"AccessUser")
479 .HasColumnType(
"TEXT")
480 .HasMaxLength(10000);
482 b.Property<
bool?>(
"AutoUpdatesKeepTestMerges")
484 .HasColumnType(
"INTEGER");
486 b.Property<
bool?>(
"AutoUpdatesSynchronize")
488 .HasColumnType(
"INTEGER");
490 b.Property<
string>(
"CommitterEmail")
492 .HasColumnType(
"TEXT")
493 .HasMaxLength(10000);
495 b.Property<
string>(
"CommitterName")
497 .HasColumnType(
"TEXT")
498 .HasMaxLength(10000);
500 b.Property<
bool?>(
"CreateGitHubDeployments")
502 .HasColumnType(
"INTEGER");
504 b.Property<
long>(
"InstanceId")
505 .HasColumnType(
"INTEGER");
507 b.Property<
bool?>(
"PostTestMergeComment")
509 .HasColumnType(
"INTEGER");
511 b.Property<
bool?>(
"PushTestMergeCommits")
513 .HasColumnType(
"INTEGER");
515 b.Property<
bool?>(
"ShowTestMergeCommitters")
517 .HasColumnType(
"INTEGER");
521 b.HasIndex(
"InstanceId")
524 b.ToTable(
"RepositorySettings");
527 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
529 b.Property<
long>(
"Id")
530 .ValueGeneratedOnAdd()
531 .HasColumnType(
"INTEGER");
533 b.Property<
long>(
"RevisionInformationId")
534 .HasColumnType(
"INTEGER");
536 b.Property<
long>(
"TestMergeId")
537 .HasColumnType(
"INTEGER");
541 b.HasIndex(
"RevisionInformationId");
543 b.HasIndex(
"TestMergeId");
545 b.ToTable(
"RevInfoTestMerges");
548 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
550 b.Property<
long>(
"Id")
551 .ValueGeneratedOnAdd()
552 .HasColumnType(
"INTEGER");
554 b.Property<
string>(
"CommitSha")
556 .HasColumnType(
"TEXT")
559 b.Property<
long>(
"InstanceId")
560 .HasColumnType(
"INTEGER");
562 b.Property<
string>(
"OriginCommitSha")
564 .HasColumnType(
"TEXT")
569 b.HasIndex(
"InstanceId",
"CommitSha")
572 b.ToTable(
"RevisionInformations");
575 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
577 b.Property<
long>(
"Id")
578 .ValueGeneratedOnAdd()
579 .HasColumnType(
"INTEGER");
581 b.Property<
string>(
"Author")
583 .HasColumnType(
"TEXT");
585 b.Property<
string>(
"BodyAtMerge")
587 .HasColumnType(
"TEXT");
589 b.Property<
string>(
"Comment")
590 .HasColumnType(
"TEXT")
591 .HasMaxLength(10000);
593 b.Property<DateTimeOffset>(
"MergedAt")
594 .HasColumnType(
"TEXT");
596 b.Property<
long>(
"MergedById")
597 .HasColumnType(
"INTEGER");
599 b.Property<
int>(
"Number")
600 .HasColumnType(
"INTEGER");
602 b.Property<
long?>(
"PrimaryRevisionInformationId")
604 .HasColumnType(
"INTEGER");
606 b.Property<
string>(
"TargetCommitSha")
608 .HasColumnType(
"TEXT")
611 b.Property<
string>(
"TitleAtMerge")
613 .HasColumnType(
"TEXT");
615 b.Property<
string>(
"Url")
617 .HasColumnType(
"TEXT");
621 b.HasIndex(
"MergedById");
623 b.HasIndex(
"PrimaryRevisionInformationId")
626 b.ToTable(
"TestMerges");
629 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
631 b.Property<
long?>(
"Id")
632 .ValueGeneratedOnAdd()
633 .HasColumnType(
"INTEGER");
635 b.Property<
string>(
"CanonicalName")
637 .HasColumnType(
"TEXT")
640 b.Property<DateTimeOffset?>(
"CreatedAt")
642 .HasColumnType(
"TEXT");
644 b.Property<
long?>(
"CreatedById")
645 .HasColumnType(
"INTEGER");
647 b.Property<
bool?>(
"Enabled")
649 .HasColumnType(
"INTEGER");
651 b.Property<
long?>(
"GroupId")
652 .HasColumnType(
"INTEGER");
654 b.Property<DateTimeOffset?>(
"LastPasswordUpdate")
655 .HasColumnType(
"TEXT");
657 b.Property<
string>(
"Name")
659 .HasColumnType(
"TEXT")
662 b.Property<
string>(
"PasswordHash")
663 .HasColumnType(
"TEXT");
665 b.Property<
string>(
"SystemIdentifier")
666 .HasColumnType(
"TEXT")
671 b.HasIndex(
"CanonicalName")
674 b.HasIndex(
"CreatedById");
676 b.HasIndex(
"GroupId");
678 b.HasIndex(
"SystemIdentifier")
684 modelBuilder.Entity(
"Tgstation.Server.Host.Models.UserGroup", b =>
686 b.Property<
long>(
"Id")
687 .ValueGeneratedOnAdd()
688 .HasColumnType(
"INTEGER");
690 b.Property<
string>(
"Name")
692 .HasColumnType(
"TEXT")
703 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatBot", b =>
705 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
706 .WithMany(
"ChatSettings")
707 .HasForeignKey(
"InstanceId")
708 .OnDelete(DeleteBehavior.Cascade)
712 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatChannel", b =>
714 b.HasOne(
"Tgstation.Server.Host.Models.ChatBot",
"ChatSettings")
715 .WithMany(
"Channels")
716 .HasForeignKey(
"ChatSettingsId")
717 .OnDelete(DeleteBehavior.Cascade)
721 modelBuilder.Entity(
"Tgstation.Server.Host.Models.CompileJob", b =>
723 b.HasOne(
"Tgstation.Server.Host.Models.Job",
"Job")
725 .HasForeignKey(
"Tgstation.Server.Host.Models.CompileJob",
"JobId")
726 .OnDelete(DeleteBehavior.Cascade)
729 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
730 .WithMany(
"CompileJobs")
731 .HasForeignKey(
"RevisionInformationId")
732 .OnDelete(DeleteBehavior.ClientNoAction)
736 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
738 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
739 .WithOne(
"DreamDaemonSettings")
740 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamDaemonSettings",
"InstanceId")
741 .OnDelete(DeleteBehavior.Cascade)
745 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
747 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
748 .WithOne(
"DreamMakerSettings")
749 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamMakerSettings",
"InstanceId")
750 .OnDelete(DeleteBehavior.Cascade)
754 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstancePermissionSet", b =>
756 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
757 .WithMany(
"InstancePermissionSets")
758 .HasForeignKey(
"InstanceId")
759 .OnDelete(DeleteBehavior.Cascade)
762 b.HasOne(
"Tgstation.Server.Host.Models.PermissionSet",
"PermissionSet")
763 .WithMany(
"InstancePermissionSets")
764 .HasForeignKey(
"PermissionSetId")
765 .OnDelete(DeleteBehavior.Cascade)
769 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
771 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CancelledBy")
773 .HasForeignKey(
"CancelledById");
775 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
777 .HasForeignKey(
"InstanceId")
778 .OnDelete(DeleteBehavior.Cascade)
781 b.HasOne(
"Tgstation.Server.Host.Models.User",
"StartedBy")
783 .HasForeignKey(
"StartedById")
784 .OnDelete(DeleteBehavior.Cascade)
788 modelBuilder.Entity(
"Tgstation.Server.Host.Models.OAuthConnection", b =>
790 b.HasOne(
"Tgstation.Server.Host.Models.User",
"User")
791 .WithMany(
"OAuthConnections")
792 .HasForeignKey(
"UserId")
793 .OnDelete(DeleteBehavior.Cascade);
796 modelBuilder.Entity(
"Tgstation.Server.Host.Models.PermissionSet", b =>
798 b.HasOne(
"Tgstation.Server.Host.Models.UserGroup",
"Group")
799 .WithOne(
"PermissionSet")
800 .HasForeignKey(
"Tgstation.Server.Host.Models.PermissionSet",
"GroupId")
801 .OnDelete(DeleteBehavior.Cascade);
803 b.HasOne(
"Tgstation.Server.Host.Models.User",
"User")
804 .WithOne(
"PermissionSet")
805 .HasForeignKey(
"Tgstation.Server.Host.Models.PermissionSet",
"UserId")
806 .OnDelete(DeleteBehavior.Cascade);
809 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
811 b.HasOne(
"Tgstation.Server.Host.Models.CompileJob",
"CompileJob")
813 .HasForeignKey(
"CompileJobId")
814 .OnDelete(DeleteBehavior.Cascade)
818 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
820 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
821 .WithOne(
"RepositorySettings")
822 .HasForeignKey(
"Tgstation.Server.Host.Models.RepositorySettings",
"InstanceId")
823 .OnDelete(DeleteBehavior.Cascade)
827 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
829 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
830 .WithMany(
"ActiveTestMerges")
831 .HasForeignKey(
"RevisionInformationId")
832 .OnDelete(DeleteBehavior.Cascade)
835 b.HasOne(
"Tgstation.Server.Host.Models.TestMerge",
"TestMerge")
836 .WithMany(
"RevisonInformations")
837 .HasForeignKey(
"TestMergeId")
838 .OnDelete(DeleteBehavior.ClientNoAction)
842 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
844 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
845 .WithMany(
"RevisionInformations")
846 .HasForeignKey(
"InstanceId")
847 .OnDelete(DeleteBehavior.Cascade)
851 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
853 b.HasOne(
"Tgstation.Server.Host.Models.User",
"MergedBy")
854 .WithMany(
"TestMerges")
855 .HasForeignKey(
"MergedById")
856 .OnDelete(DeleteBehavior.Restrict)
859 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"PrimaryRevisionInformation")
860 .WithOne(
"PrimaryTestMerge")
861 .HasForeignKey(
"Tgstation.Server.Host.Models.TestMerge",
"PrimaryRevisionInformationId")
862 .OnDelete(DeleteBehavior.Cascade)
866 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
868 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CreatedBy")
869 .WithMany(
"CreatedUsers")
870 .HasForeignKey(
"CreatedById");
872 b.HasOne(
"Tgstation.Server.Host.Models.UserGroup",
"Group")
874 .HasForeignKey(
"GroupId");
876#pragma warning restore 612, 618