17#pragma warning disable 612, 618
19 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
20 .HasAnnotation(
"ProductVersion",
"3.1.4")
21 .HasAnnotation(
"Relational:MaxIdentifierLength", 63);
23 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatBot", b =>
25 b.Property<
long>(
"Id")
26 .ValueGeneratedOnAdd()
27 .HasColumnType(
"bigint")
28 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
30 b.Property<
int>(
"ChannelLimit")
31 .HasColumnType(
"integer");
33 b.Property<
string>(
"ConnectionString")
35 .HasColumnType(
"character varying(10000)")
38 b.Property<
bool?>(
"Enabled")
39 .HasColumnType(
"boolean");
41 b.Property<
long>(
"InstanceId")
42 .HasColumnType(
"bigint");
44 b.Property<
string>(
"Name")
46 .HasColumnType(
"character varying(100)")
49 b.Property<
int>(
"Provider")
50 .HasColumnType(
"integer");
52 b.Property<
long>(
"ReconnectionInterval")
53 .HasColumnType(
"bigint");
57 b.HasIndex(
"InstanceId",
"Name")
60 b.ToTable(
"ChatBots");
63 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatChannel", b =>
65 b.Property<
long>(
"Id")
66 .ValueGeneratedOnAdd()
67 .HasColumnType(
"bigint")
68 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
70 b.Property<
long>(
"ChatSettingsId")
71 .HasColumnType(
"bigint");
73 b.Property<decimal?>(
"DiscordChannelId")
74 .HasColumnType(
"numeric(20,0)");
76 b.Property<
string>(
"IrcChannel")
77 .HasColumnType(
"character varying(100)")
80 b.Property<
bool?>(
"IsAdminChannel")
82 .HasColumnType(
"boolean");
84 b.Property<
bool?>(
"IsUpdatesChannel")
86 .HasColumnType(
"boolean");
88 b.Property<
bool?>(
"IsWatchdogChannel")
90 .HasColumnType(
"boolean");
92 b.Property<
string>(
"Tag")
93 .HasColumnType(
"character varying(10000)")
98 b.HasIndex(
"ChatSettingsId",
"DiscordChannelId")
101 b.HasIndex(
"ChatSettingsId",
"IrcChannel")
104 b.ToTable(
"ChatChannels");
107 modelBuilder.Entity(
"Tgstation.Server.Host.Models.CompileJob", b =>
109 b.Property<
long>(
"Id")
110 .ValueGeneratedOnAdd()
111 .HasColumnType(
"bigint")
112 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
114 b.Property<
string>(
"ByondVersion")
116 .HasColumnType(
"text");
118 b.Property<
int?>(
"DMApiMajorVersion")
119 .HasColumnType(
"integer");
121 b.Property<
int?>(
"DMApiMinorVersion")
122 .HasColumnType(
"integer");
124 b.Property<
int?>(
"DMApiPatchVersion")
125 .HasColumnType(
"integer");
127 b.Property<Guid?>(
"DirectoryName")
129 .HasColumnType(
"uuid");
131 b.Property<
string>(
"DmeName")
133 .HasColumnType(
"text");
135 b.Property<
long>(
"JobId")
136 .HasColumnType(
"bigint");
138 b.Property<
int>(
"MinimumSecurityLevel")
139 .HasColumnType(
"integer");
141 b.Property<
string>(
"Output")
143 .HasColumnType(
"text");
145 b.Property<
long>(
"RevisionInformationId")
146 .HasColumnType(
"bigint");
150 b.HasIndex(
"DirectoryName");
155 b.HasIndex(
"RevisionInformationId");
157 b.ToTable(
"CompileJobs");
160 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
162 b.Property<
long>(
"Id")
163 .ValueGeneratedOnAdd()
164 .HasColumnType(
"bigint")
165 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
167 b.Property<
bool?>(
"AllowWebClient")
169 .HasColumnType(
"boolean");
171 b.Property<
bool?>(
"AutoStart")
173 .HasColumnType(
"boolean");
175 b.Property<
long>(
"HeartbeatSeconds")
176 .HasColumnType(
"bigint");
178 b.Property<
long>(
"InstanceId")
179 .HasColumnType(
"bigint");
181 b.Property<
int>(
"PrimaryPort")
182 .HasColumnType(
"integer");
184 b.Property<
int>(
"SecondaryPort")
185 .HasColumnType(
"integer");
187 b.Property<
int>(
"SecurityLevel")
188 .HasColumnType(
"integer");
190 b.Property<
long>(
"StartupTimeout")
191 .HasColumnType(
"bigint");
195 b.HasIndex(
"InstanceId")
198 b.ToTable(
"DreamDaemonSettings");
201 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
203 b.Property<
long>(
"Id")
204 .ValueGeneratedOnAdd()
205 .HasColumnType(
"bigint")
206 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
208 b.Property<
int>(
"ApiValidationPort")
209 .HasColumnType(
"integer");
211 b.Property<
int>(
"ApiValidationSecurityLevel")
212 .HasColumnType(
"integer");
214 b.Property<
long>(
"InstanceId")
215 .HasColumnType(
"bigint");
217 b.Property<
string>(
"ProjectName")
218 .HasColumnType(
"character varying(10000)")
219 .HasMaxLength(10000);
223 b.HasIndex(
"InstanceId")
226 b.ToTable(
"DreamMakerSettings");
229 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DualReattachInformation", b =>
231 b.Property<
long>(
"Id")
232 .ValueGeneratedOnAdd()
233 .HasColumnType(
"bigint")
234 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
236 b.Property<
long?>(
"AlphaId")
237 .HasColumnType(
"bigint");
239 b.Property<
bool>(
"AlphaIsActive")
240 .HasColumnType(
"boolean");
242 b.Property<
long?>(
"BravoId")
243 .HasColumnType(
"bigint");
245 b.Property<
long>(
"InstanceId")
246 .HasColumnType(
"bigint");
250 b.HasIndex(
"AlphaId");
252 b.HasIndex(
"BravoId");
254 b.HasIndex(
"InstanceId")
257 b.ToTable(
"WatchdogReattachInformations");
260 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Instance", b =>
262 b.Property<
long>(
"Id")
263 .ValueGeneratedOnAdd()
264 .HasColumnType(
"bigint")
265 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
267 b.Property<
long>(
"AutoUpdateInterval")
268 .HasColumnType(
"bigint");
270 b.Property<
int>(
"ChatBotLimit")
271 .HasColumnType(
"integer");
273 b.Property<
int>(
"ConfigurationType")
274 .HasColumnType(
"integer");
276 b.Property<
string>(
"Name")
278 .HasColumnType(
"character varying(10000)")
279 .HasMaxLength(10000);
281 b.Property<
bool?>(
"Online")
283 .HasColumnType(
"boolean");
285 b.Property<
string>(
"Path")
287 .HasColumnType(
"text");
294 b.ToTable(
"Instances");
297 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstanceUser", b =>
299 b.Property<
long>(
"Id")
300 .ValueGeneratedOnAdd()
301 .HasColumnType(
"bigint")
302 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
304 b.Property<decimal>(
"ByondRights")
305 .HasColumnType(
"numeric(20,0)");
307 b.Property<decimal>(
"ChatBotRights")
308 .HasColumnType(
"numeric(20,0)");
310 b.Property<decimal>(
"ConfigurationRights")
311 .HasColumnType(
"numeric(20,0)");
313 b.Property<decimal>(
"DreamDaemonRights")
314 .HasColumnType(
"numeric(20,0)");
316 b.Property<decimal>(
"DreamMakerRights")
317 .HasColumnType(
"numeric(20,0)");
319 b.Property<
long>(
"InstanceId")
320 .HasColumnType(
"bigint");
322 b.Property<decimal>(
"InstanceUserRights")
323 .HasColumnType(
"numeric(20,0)");
325 b.Property<decimal>(
"RepositoryRights")
326 .HasColumnType(
"numeric(20,0)");
328 b.Property<
long?>(
"UserId")
330 .HasColumnType(
"bigint");
334 b.HasIndex(
"InstanceId");
336 b.HasIndex(
"UserId",
"InstanceId")
339 b.ToTable(
"InstanceUsers");
342 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
344 b.Property<
long>(
"Id")
345 .ValueGeneratedOnAdd()
346 .HasColumnType(
"bigint")
347 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
349 b.Property<decimal?>(
"CancelRight")
350 .HasColumnType(
"numeric(20,0)");
352 b.Property<decimal?>(
"CancelRightsType")
353 .HasColumnType(
"numeric(20,0)");
355 b.Property<
bool?>(
"Cancelled")
357 .HasColumnType(
"boolean");
359 b.Property<
long?>(
"CancelledById")
360 .HasColumnType(
"bigint");
362 b.Property<
string>(
"Description")
364 .HasColumnType(
"text");
366 b.Property<
long?>(
"ErrorCode")
367 .HasColumnType(
"bigint");
369 b.Property<
string>(
"ExceptionDetails")
370 .HasColumnType(
"text");
372 b.Property<
long>(
"InstanceId")
373 .HasColumnType(
"bigint");
375 b.Property<DateTimeOffset?>(
"StartedAt")
377 .HasColumnType(
"timestamp with time zone");
379 b.Property<
long>(
"StartedById")
380 .HasColumnType(
"bigint");
382 b.Property<DateTimeOffset?>(
"StoppedAt")
383 .HasColumnType(
"timestamp with time zone");
387 b.HasIndex(
"CancelledById");
389 b.HasIndex(
"InstanceId");
391 b.HasIndex(
"StartedById");
396 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
398 b.Property<
long>(
"Id")
399 .ValueGeneratedOnAdd()
400 .HasColumnType(
"bigint")
401 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
403 b.Property<
string>(
"AccessIdentifier")
405 .HasColumnType(
"text");
407 b.Property<
long>(
"CompileJobId")
408 .HasColumnType(
"bigint");
410 b.Property<
bool>(
"IsPrimary")
411 .HasColumnType(
"boolean");
413 b.Property<
int>(
"LaunchSecurityLevel")
414 .HasColumnType(
"integer");
416 b.Property<
int>(
"Port")
417 .HasColumnType(
"integer");
419 b.Property<
int>(
"ProcessId")
420 .HasColumnType(
"integer");
422 b.Property<
int>(
"RebootState")
423 .HasColumnType(
"integer");
427 b.HasIndex(
"CompileJobId");
429 b.ToTable(
"ReattachInformations");
432 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
434 b.Property<
long>(
"Id")
435 .ValueGeneratedOnAdd()
436 .HasColumnType(
"bigint")
437 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
439 b.Property<
string>(
"AccessToken")
440 .HasColumnType(
"character varying(10000)")
441 .HasMaxLength(10000);
443 b.Property<
string>(
"AccessUser")
444 .HasColumnType(
"character varying(10000)")
445 .HasMaxLength(10000);
447 b.Property<
bool?>(
"AutoUpdatesKeepTestMerges")
449 .HasColumnType(
"boolean");
451 b.Property<
bool?>(
"AutoUpdatesSynchronize")
453 .HasColumnType(
"boolean");
455 b.Property<
string>(
"CommitterEmail")
457 .HasColumnType(
"character varying(10000)")
458 .HasMaxLength(10000);
460 b.Property<
string>(
"CommitterName")
462 .HasColumnType(
"character varying(10000)")
463 .HasMaxLength(10000);
465 b.Property<
long>(
"InstanceId")
466 .HasColumnType(
"bigint");
468 b.Property<
bool?>(
"PostTestMergeComment")
470 .HasColumnType(
"boolean");
472 b.Property<
bool?>(
"PushTestMergeCommits")
474 .HasColumnType(
"boolean");
476 b.Property<
bool?>(
"ShowTestMergeCommitters")
478 .HasColumnType(
"boolean");
482 b.HasIndex(
"InstanceId")
485 b.ToTable(
"RepositorySettings");
488 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
490 b.Property<
long>(
"Id")
491 .ValueGeneratedOnAdd()
492 .HasColumnType(
"bigint")
493 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
495 b.Property<
long>(
"RevisionInformationId")
496 .HasColumnType(
"bigint");
498 b.Property<
long>(
"TestMergeId")
499 .HasColumnType(
"bigint");
503 b.HasIndex(
"RevisionInformationId");
505 b.HasIndex(
"TestMergeId");
507 b.ToTable(
"RevInfoTestMerges");
510 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
512 b.Property<
long>(
"Id")
513 .ValueGeneratedOnAdd()
514 .HasColumnType(
"bigint")
515 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
517 b.Property<
string>(
"CommitSha")
519 .HasColumnType(
"character varying(40)")
522 b.Property<
long>(
"InstanceId")
523 .HasColumnType(
"bigint");
525 b.Property<
string>(
"OriginCommitSha")
527 .HasColumnType(
"character varying(40)")
532 b.HasIndex(
"InstanceId",
"CommitSha")
535 b.ToTable(
"RevisionInformations");
538 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
540 b.Property<
long>(
"Id")
541 .ValueGeneratedOnAdd()
542 .HasColumnType(
"bigint")
543 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
545 b.Property<
string>(
"Author")
547 .HasColumnType(
"text");
549 b.Property<
string>(
"BodyAtMerge")
551 .HasColumnType(
"text");
553 b.Property<
string>(
"Comment")
554 .HasColumnType(
"character varying(10000)")
555 .HasMaxLength(10000);
557 b.Property<DateTimeOffset>(
"MergedAt")
558 .HasColumnType(
"timestamp with time zone");
560 b.Property<
long>(
"MergedById")
561 .HasColumnType(
"bigint");
563 b.Property<
int>(
"Number")
564 .HasColumnType(
"integer");
566 b.Property<
long?>(
"PrimaryRevisionInformationId")
568 .HasColumnType(
"bigint");
570 b.Property<
string>(
"PullRequestRevision")
572 .HasColumnType(
"character varying(40)")
575 b.Property<
string>(
"TitleAtMerge")
577 .HasColumnType(
"text");
579 b.Property<
string>(
"Url")
581 .HasColumnType(
"text");
585 b.HasIndex(
"MergedById");
587 b.HasIndex(
"PrimaryRevisionInformationId")
590 b.ToTable(
"TestMerges");
593 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
595 b.Property<
long?>(
"Id")
596 .ValueGeneratedOnAdd()
597 .HasColumnType(
"bigint")
598 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
600 b.Property<decimal>(
"AdministrationRights")
601 .HasColumnType(
"numeric(20,0)");
603 b.Property<
string>(
"CanonicalName")
605 .HasColumnType(
"text");
607 b.Property<DateTimeOffset?>(
"CreatedAt")
609 .HasColumnType(
"timestamp with time zone");
611 b.Property<
long?>(
"CreatedById")
612 .HasColumnType(
"bigint");
614 b.Property<
bool?>(
"Enabled")
616 .HasColumnType(
"boolean");
618 b.Property<decimal>(
"InstanceManagerRights")
619 .HasColumnType(
"numeric(20,0)");
621 b.Property<DateTimeOffset?>(
"LastPasswordUpdate")
622 .HasColumnType(
"timestamp with time zone");
624 b.Property<
string>(
"Name")
626 .HasColumnType(
"character varying(10000)")
627 .HasMaxLength(10000);
629 b.Property<
string>(
"PasswordHash")
630 .HasColumnType(
"text");
632 b.Property<
string>(
"SystemIdentifier")
633 .HasColumnType(
"text");
637 b.HasIndex(
"CanonicalName")
640 b.HasIndex(
"CreatedById");
642 b.HasIndex(
"SystemIdentifier")
648 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatBot", b =>
650 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
651 .WithMany(
"ChatSettings")
652 .HasForeignKey(
"InstanceId")
653 .OnDelete(DeleteBehavior.Cascade)
657 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatChannel", b =>
659 b.HasOne(
"Tgstation.Server.Host.Models.ChatBot",
"ChatSettings")
660 .WithMany(
"Channels")
661 .HasForeignKey(
"ChatSettingsId")
662 .OnDelete(DeleteBehavior.Cascade)
666 modelBuilder.Entity(
"Tgstation.Server.Host.Models.CompileJob", b =>
668 b.HasOne(
"Tgstation.Server.Host.Models.Job",
"Job")
670 .HasForeignKey(
"Tgstation.Server.Host.Models.CompileJob",
"JobId")
671 .OnDelete(DeleteBehavior.Cascade)
674 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
675 .WithMany(
"CompileJobs")
676 .HasForeignKey(
"RevisionInformationId")
677 .OnDelete(DeleteBehavior.Cascade)
681 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
683 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
684 .WithOne(
"DreamDaemonSettings")
685 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamDaemonSettings",
"InstanceId")
686 .OnDelete(DeleteBehavior.Cascade)
690 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
692 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
693 .WithOne(
"DreamMakerSettings")
694 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamMakerSettings",
"InstanceId")
695 .OnDelete(DeleteBehavior.Cascade)
699 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DualReattachInformation", b =>
701 b.HasOne(
"Tgstation.Server.Host.Models.ReattachInformation",
"Alpha")
703 .HasForeignKey(
"AlphaId");
705 b.HasOne(
"Tgstation.Server.Host.Models.ReattachInformation",
"Bravo")
707 .HasForeignKey(
"BravoId");
709 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
null)
710 .WithOne(
"WatchdogReattachInformation")
711 .HasForeignKey(
"Tgstation.Server.Host.Models.DualReattachInformation",
"InstanceId")
712 .OnDelete(DeleteBehavior.Cascade)
716 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstanceUser", b =>
718 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
719 .WithMany(
"InstanceUsers")
720 .HasForeignKey(
"InstanceId")
721 .OnDelete(DeleteBehavior.Cascade)
724 b.HasOne(
"Tgstation.Server.Host.Models.User",
null)
725 .WithMany(
"InstanceUsers")
726 .HasForeignKey(
"UserId")
727 .OnDelete(DeleteBehavior.Cascade)
731 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
733 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CancelledBy")
735 .HasForeignKey(
"CancelledById");
737 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
739 .HasForeignKey(
"InstanceId")
740 .OnDelete(DeleteBehavior.Cascade)
743 b.HasOne(
"Tgstation.Server.Host.Models.User",
"StartedBy")
745 .HasForeignKey(
"StartedById")
746 .OnDelete(DeleteBehavior.Cascade)
750 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
752 b.HasOne(
"Tgstation.Server.Host.Models.CompileJob",
"CompileJob")
754 .HasForeignKey(
"CompileJobId")
755 .OnDelete(DeleteBehavior.Cascade)
759 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
761 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
762 .WithOne(
"RepositorySettings")
763 .HasForeignKey(
"Tgstation.Server.Host.Models.RepositorySettings",
"InstanceId")
764 .OnDelete(DeleteBehavior.Cascade)
768 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
770 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
771 .WithMany(
"ActiveTestMerges")
772 .HasForeignKey(
"RevisionInformationId")
773 .OnDelete(DeleteBehavior.Cascade)
776 b.HasOne(
"Tgstation.Server.Host.Models.TestMerge",
"TestMerge")
777 .WithMany(
"RevisonInformations")
778 .HasForeignKey(
"TestMergeId")
779 .OnDelete(DeleteBehavior.ClientNoAction)
783 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
785 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
786 .WithMany(
"RevisionInformations")
787 .HasForeignKey(
"InstanceId")
788 .OnDelete(DeleteBehavior.Cascade)
792 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
794 b.HasOne(
"Tgstation.Server.Host.Models.User",
"MergedBy")
795 .WithMany(
"TestMerges")
796 .HasForeignKey(
"MergedById")
797 .OnDelete(DeleteBehavior.Restrict)
800 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"PrimaryRevisionInformation")
801 .WithOne(
"PrimaryTestMerge")
802 .HasForeignKey(
"Tgstation.Server.Host.Models.TestMerge",
"PrimaryRevisionInformationId")
803 .OnDelete(DeleteBehavior.Cascade)
807 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
809 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CreatedBy")
810 .WithMany(
"CreatedUsers")
811 .HasForeignKey(
"CreatedById");
813#pragma warning restore 612, 618