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");
276 b.Property<
string>(
"SwarmIdentifer")
277 .HasColumnType(
"TEXT");
281 b.HasIndex(
"Path",
"SwarmIdentifer")
284 b.ToTable(
"Instances");
287 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstancePermissionSet", b =>
289 b.Property<
long>(
"Id")
290 .ValueGeneratedOnAdd()
291 .HasColumnType(
"INTEGER");
293 b.Property<ulong>(
"ByondRights")
294 .HasColumnType(
"INTEGER");
296 b.Property<ulong>(
"ChatBotRights")
297 .HasColumnType(
"INTEGER");
299 b.Property<ulong>(
"ConfigurationRights")
300 .HasColumnType(
"INTEGER");
302 b.Property<ulong>(
"DreamDaemonRights")
303 .HasColumnType(
"INTEGER");
305 b.Property<ulong>(
"DreamMakerRights")
306 .HasColumnType(
"INTEGER");
308 b.Property<
long>(
"InstanceId")
309 .HasColumnType(
"INTEGER");
311 b.Property<ulong>(
"InstancePermissionSetRights")
312 .HasColumnType(
"INTEGER");
314 b.Property<
long>(
"PermissionSetId")
315 .HasColumnType(
"INTEGER");
317 b.Property<ulong>(
"RepositoryRights")
318 .HasColumnType(
"INTEGER");
322 b.HasIndex(
"InstanceId");
324 b.HasIndex(
"PermissionSetId",
"InstanceId")
327 b.ToTable(
"InstancePermissionSets");
330 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
332 b.Property<
long>(
"Id")
333 .ValueGeneratedOnAdd()
334 .HasColumnType(
"INTEGER");
336 b.Property<ulong?>(
"CancelRight")
337 .HasColumnType(
"INTEGER");
339 b.Property<ulong?>(
"CancelRightsType")
340 .HasColumnType(
"INTEGER");
342 b.Property<
bool?>(
"Cancelled")
344 .HasColumnType(
"INTEGER");
346 b.Property<
long?>(
"CancelledById")
347 .HasColumnType(
"INTEGER");
349 b.Property<
string>(
"Description")
351 .HasColumnType(
"TEXT");
353 b.Property<uint?>(
"ErrorCode")
354 .HasColumnType(
"INTEGER");
356 b.Property<
string>(
"ExceptionDetails")
357 .HasColumnType(
"TEXT");
359 b.Property<
long>(
"InstanceId")
360 .HasColumnType(
"INTEGER");
362 b.Property<DateTimeOffset?>(
"StartedAt")
364 .HasColumnType(
"TEXT");
366 b.Property<
long>(
"StartedById")
367 .HasColumnType(
"INTEGER");
369 b.Property<DateTimeOffset?>(
"StoppedAt")
370 .HasColumnType(
"TEXT");
374 b.HasIndex(
"CancelledById");
376 b.HasIndex(
"InstanceId");
378 b.HasIndex(
"StartedById");
383 modelBuilder.Entity(
"Tgstation.Server.Host.Models.OAuthConnection", b =>
385 b.Property<
long>(
"Id")
386 .ValueGeneratedOnAdd()
387 .HasColumnType(
"INTEGER");
389 b.Property<
string>(
"ExternalUserId")
391 .HasColumnType(
"TEXT")
394 b.Property<
int>(
"Provider")
395 .HasColumnType(
"INTEGER");
397 b.Property<
long?>(
"UserId")
398 .HasColumnType(
"INTEGER");
402 b.HasIndex(
"UserId");
404 b.HasIndex(
"Provider",
"ExternalUserId")
407 b.ToTable(
"OAuthConnections");
410 modelBuilder.Entity(
"Tgstation.Server.Host.Models.PermissionSet", b =>
412 b.Property<
long?>(
"Id")
413 .ValueGeneratedOnAdd()
414 .HasColumnType(
"INTEGER");
416 b.Property<ulong>(
"AdministrationRights")
417 .HasColumnType(
"INTEGER");
419 b.Property<
long?>(
"GroupId")
420 .HasColumnType(
"INTEGER");
422 b.Property<ulong>(
"InstanceManagerRights")
423 .HasColumnType(
"INTEGER");
425 b.Property<
long?>(
"UserId")
426 .HasColumnType(
"INTEGER");
430 b.HasIndex(
"GroupId")
436 b.ToTable(
"PermissionSets");
439 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
441 b.Property<
long>(
"Id")
442 .ValueGeneratedOnAdd()
443 .HasColumnType(
"INTEGER");
445 b.Property<
string>(
"AccessIdentifier")
447 .HasColumnType(
"TEXT");
449 b.Property<
long>(
"CompileJobId")
450 .HasColumnType(
"INTEGER");
452 b.Property<
int>(
"LaunchSecurityLevel")
453 .HasColumnType(
"INTEGER");
455 b.Property<ushort>(
"Port")
456 .HasColumnType(
"INTEGER");
458 b.Property<
int>(
"ProcessId")
459 .HasColumnType(
"INTEGER");
461 b.Property<
int>(
"RebootState")
462 .HasColumnType(
"INTEGER");
466 b.HasIndex(
"CompileJobId");
468 b.ToTable(
"ReattachInformations");
471 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
473 b.Property<
long>(
"Id")
474 .ValueGeneratedOnAdd()
475 .HasColumnType(
"INTEGER");
477 b.Property<
string>(
"AccessToken")
478 .HasColumnType(
"TEXT")
479 .HasMaxLength(10000);
481 b.Property<
string>(
"AccessUser")
482 .HasColumnType(
"TEXT")
483 .HasMaxLength(10000);
485 b.Property<
bool?>(
"AutoUpdatesKeepTestMerges")
487 .HasColumnType(
"INTEGER");
489 b.Property<
bool?>(
"AutoUpdatesSynchronize")
491 .HasColumnType(
"INTEGER");
493 b.Property<
string>(
"CommitterEmail")
495 .HasColumnType(
"TEXT")
496 .HasMaxLength(10000);
498 b.Property<
string>(
"CommitterName")
500 .HasColumnType(
"TEXT")
501 .HasMaxLength(10000);
503 b.Property<
bool?>(
"CreateGitHubDeployments")
505 .HasColumnType(
"INTEGER");
507 b.Property<
long>(
"InstanceId")
508 .HasColumnType(
"INTEGER");
510 b.Property<
bool?>(
"PostTestMergeComment")
512 .HasColumnType(
"INTEGER");
514 b.Property<
bool?>(
"PushTestMergeCommits")
516 .HasColumnType(
"INTEGER");
518 b.Property<
bool?>(
"ShowTestMergeCommitters")
520 .HasColumnType(
"INTEGER");
524 b.HasIndex(
"InstanceId")
527 b.ToTable(
"RepositorySettings");
530 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
532 b.Property<
long>(
"Id")
533 .ValueGeneratedOnAdd()
534 .HasColumnType(
"INTEGER");
536 b.Property<
long>(
"RevisionInformationId")
537 .HasColumnType(
"INTEGER");
539 b.Property<
long>(
"TestMergeId")
540 .HasColumnType(
"INTEGER");
544 b.HasIndex(
"RevisionInformationId");
546 b.HasIndex(
"TestMergeId");
548 b.ToTable(
"RevInfoTestMerges");
551 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
553 b.Property<
long>(
"Id")
554 .ValueGeneratedOnAdd()
555 .HasColumnType(
"INTEGER");
557 b.Property<
string>(
"CommitSha")
559 .HasColumnType(
"TEXT")
562 b.Property<
long>(
"InstanceId")
563 .HasColumnType(
"INTEGER");
565 b.Property<
string>(
"OriginCommitSha")
567 .HasColumnType(
"TEXT")
572 b.HasIndex(
"InstanceId",
"CommitSha")
575 b.ToTable(
"RevisionInformations");
578 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
580 b.Property<
long>(
"Id")
581 .ValueGeneratedOnAdd()
582 .HasColumnType(
"INTEGER");
584 b.Property<
string>(
"Author")
586 .HasColumnType(
"TEXT");
588 b.Property<
string>(
"BodyAtMerge")
590 .HasColumnType(
"TEXT");
592 b.Property<
string>(
"Comment")
593 .HasColumnType(
"TEXT")
594 .HasMaxLength(10000);
596 b.Property<DateTimeOffset>(
"MergedAt")
597 .HasColumnType(
"TEXT");
599 b.Property<
long>(
"MergedById")
600 .HasColumnType(
"INTEGER");
602 b.Property<
int>(
"Number")
603 .HasColumnType(
"INTEGER");
605 b.Property<
long?>(
"PrimaryRevisionInformationId")
607 .HasColumnType(
"INTEGER");
609 b.Property<
string>(
"TargetCommitSha")
611 .HasColumnType(
"TEXT")
614 b.Property<
string>(
"TitleAtMerge")
616 .HasColumnType(
"TEXT");
618 b.Property<
string>(
"Url")
620 .HasColumnType(
"TEXT");
624 b.HasIndex(
"MergedById");
626 b.HasIndex(
"PrimaryRevisionInformationId")
629 b.ToTable(
"TestMerges");
632 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
634 b.Property<
long?>(
"Id")
635 .ValueGeneratedOnAdd()
636 .HasColumnType(
"INTEGER");
638 b.Property<
string>(
"CanonicalName")
640 .HasColumnType(
"TEXT")
643 b.Property<DateTimeOffset?>(
"CreatedAt")
645 .HasColumnType(
"TEXT");
647 b.Property<
long?>(
"CreatedById")
648 .HasColumnType(
"INTEGER");
650 b.Property<
bool?>(
"Enabled")
652 .HasColumnType(
"INTEGER");
654 b.Property<
long?>(
"GroupId")
655 .HasColumnType(
"INTEGER");
657 b.Property<DateTimeOffset?>(
"LastPasswordUpdate")
658 .HasColumnType(
"TEXT");
660 b.Property<
string>(
"Name")
662 .HasColumnType(
"TEXT")
665 b.Property<
string>(
"PasswordHash")
666 .HasColumnType(
"TEXT");
668 b.Property<
string>(
"SystemIdentifier")
669 .HasColumnType(
"TEXT")
674 b.HasIndex(
"CanonicalName")
677 b.HasIndex(
"CreatedById");
679 b.HasIndex(
"GroupId");
681 b.HasIndex(
"SystemIdentifier")
687 modelBuilder.Entity(
"Tgstation.Server.Host.Models.UserGroup", b =>
689 b.Property<
long>(
"Id")
690 .ValueGeneratedOnAdd()
691 .HasColumnType(
"INTEGER");
693 b.Property<
string>(
"Name")
695 .HasColumnType(
"TEXT")
706 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatBot", b =>
708 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
709 .WithMany(
"ChatSettings")
710 .HasForeignKey(
"InstanceId")
711 .OnDelete(DeleteBehavior.Cascade)
715 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatChannel", b =>
717 b.HasOne(
"Tgstation.Server.Host.Models.ChatBot",
"ChatSettings")
718 .WithMany(
"Channels")
719 .HasForeignKey(
"ChatSettingsId")
720 .OnDelete(DeleteBehavior.Cascade)
724 modelBuilder.Entity(
"Tgstation.Server.Host.Models.CompileJob", b =>
726 b.HasOne(
"Tgstation.Server.Host.Models.Job",
"Job")
728 .HasForeignKey(
"Tgstation.Server.Host.Models.CompileJob",
"JobId")
729 .OnDelete(DeleteBehavior.Cascade)
732 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
733 .WithMany(
"CompileJobs")
734 .HasForeignKey(
"RevisionInformationId")
735 .OnDelete(DeleteBehavior.ClientNoAction)
739 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
741 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
742 .WithOne(
"DreamDaemonSettings")
743 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamDaemonSettings",
"InstanceId")
744 .OnDelete(DeleteBehavior.Cascade)
748 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
750 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
751 .WithOne(
"DreamMakerSettings")
752 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamMakerSettings",
"InstanceId")
753 .OnDelete(DeleteBehavior.Cascade)
757 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstancePermissionSet", b =>
759 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
760 .WithMany(
"InstancePermissionSets")
761 .HasForeignKey(
"InstanceId")
762 .OnDelete(DeleteBehavior.Cascade)
765 b.HasOne(
"Tgstation.Server.Host.Models.PermissionSet",
"PermissionSet")
766 .WithMany(
"InstancePermissionSets")
767 .HasForeignKey(
"PermissionSetId")
768 .OnDelete(DeleteBehavior.Cascade)
772 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
774 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CancelledBy")
776 .HasForeignKey(
"CancelledById");
778 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
780 .HasForeignKey(
"InstanceId")
781 .OnDelete(DeleteBehavior.Cascade)
784 b.HasOne(
"Tgstation.Server.Host.Models.User",
"StartedBy")
786 .HasForeignKey(
"StartedById")
787 .OnDelete(DeleteBehavior.Cascade)
791 modelBuilder.Entity(
"Tgstation.Server.Host.Models.OAuthConnection", b =>
793 b.HasOne(
"Tgstation.Server.Host.Models.User",
"User")
794 .WithMany(
"OAuthConnections")
795 .HasForeignKey(
"UserId")
796 .OnDelete(DeleteBehavior.Cascade);
799 modelBuilder.Entity(
"Tgstation.Server.Host.Models.PermissionSet", b =>
801 b.HasOne(
"Tgstation.Server.Host.Models.UserGroup",
"Group")
802 .WithOne(
"PermissionSet")
803 .HasForeignKey(
"Tgstation.Server.Host.Models.PermissionSet",
"GroupId")
804 .OnDelete(DeleteBehavior.Cascade);
806 b.HasOne(
"Tgstation.Server.Host.Models.User",
"User")
807 .WithOne(
"PermissionSet")
808 .HasForeignKey(
"Tgstation.Server.Host.Models.PermissionSet",
"UserId")
809 .OnDelete(DeleteBehavior.Cascade);
812 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
814 b.HasOne(
"Tgstation.Server.Host.Models.CompileJob",
"CompileJob")
816 .HasForeignKey(
"CompileJobId")
817 .OnDelete(DeleteBehavior.Cascade)
821 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
823 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
824 .WithOne(
"RepositorySettings")
825 .HasForeignKey(
"Tgstation.Server.Host.Models.RepositorySettings",
"InstanceId")
826 .OnDelete(DeleteBehavior.Cascade)
830 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
832 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
833 .WithMany(
"ActiveTestMerges")
834 .HasForeignKey(
"RevisionInformationId")
835 .OnDelete(DeleteBehavior.Cascade)
838 b.HasOne(
"Tgstation.Server.Host.Models.TestMerge",
"TestMerge")
839 .WithMany(
"RevisonInformations")
840 .HasForeignKey(
"TestMergeId")
841 .OnDelete(DeleteBehavior.ClientNoAction)
845 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
847 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
848 .WithMany(
"RevisionInformations")
849 .HasForeignKey(
"InstanceId")
850 .OnDelete(DeleteBehavior.Cascade)
854 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
856 b.HasOne(
"Tgstation.Server.Host.Models.User",
"MergedBy")
857 .WithMany(
"TestMerges")
858 .HasForeignKey(
"MergedById")
859 .OnDelete(DeleteBehavior.Restrict)
862 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"PrimaryRevisionInformation")
863 .WithOne(
"PrimaryTestMerge")
864 .HasForeignKey(
"Tgstation.Server.Host.Models.TestMerge",
"PrimaryRevisionInformationId")
865 .OnDelete(DeleteBehavior.Cascade)
869 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
871 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CreatedBy")
872 .WithMany(
"CreatedUsers")
873 .HasForeignKey(
"CreatedById");
875 b.HasOne(
"Tgstation.Server.Host.Models.UserGroup",
"Group")
877 .HasForeignKey(
"GroupId");
879#pragma warning restore 612, 618