17#pragma warning disable 612, 618
19 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
20 .HasAnnotation(
"ProductVersion",
"3.1.10")
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<
int?>(
"GitHubDeploymentId")
136 .HasColumnType(
"integer");
138 b.Property<
long?>(
"GitHubRepoId")
139 .HasColumnType(
"bigint");
141 b.Property<
long>(
"JobId")
142 .HasColumnType(
"bigint");
144 b.Property<
int?>(
"MinimumSecurityLevel")
145 .HasColumnType(
"integer");
147 b.Property<
string>(
"Output")
149 .HasColumnType(
"text");
151 b.Property<
long>(
"RevisionInformationId")
152 .HasColumnType(
"bigint");
156 b.HasIndex(
"DirectoryName");
161 b.HasIndex(
"RevisionInformationId");
163 b.ToTable(
"CompileJobs");
166 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
168 b.Property<
long>(
"Id")
169 .ValueGeneratedOnAdd()
170 .HasColumnType(
"bigint")
171 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
173 b.Property<
string>(
"AdditionalParameters")
175 .HasColumnType(
"character varying(10000)")
176 .HasMaxLength(10000);
178 b.Property<
bool?>(
"AllowWebClient")
180 .HasColumnType(
"boolean");
182 b.Property<
bool?>(
"AutoStart")
184 .HasColumnType(
"boolean");
186 b.Property<
long>(
"HeartbeatSeconds")
187 .HasColumnType(
"bigint");
189 b.Property<
long>(
"InstanceId")
190 .HasColumnType(
"bigint");
192 b.Property<
int>(
"Port")
193 .HasColumnType(
"integer");
195 b.Property<
int>(
"SecurityLevel")
196 .HasColumnType(
"integer");
198 b.Property<
long>(
"StartupTimeout")
199 .HasColumnType(
"bigint");
201 b.Property<
long>(
"TopicRequestTimeout")
202 .HasColumnType(
"bigint");
206 b.HasIndex(
"InstanceId")
209 b.ToTable(
"DreamDaemonSettings");
212 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
214 b.Property<
long>(
"Id")
215 .ValueGeneratedOnAdd()
216 .HasColumnType(
"bigint")
217 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
219 b.Property<
int>(
"ApiValidationPort")
220 .HasColumnType(
"integer");
222 b.Property<
int>(
"ApiValidationSecurityLevel")
223 .HasColumnType(
"integer");
225 b.Property<
long>(
"InstanceId")
226 .HasColumnType(
"bigint");
228 b.Property<
string>(
"ProjectName")
229 .HasColumnType(
"character varying(10000)")
230 .HasMaxLength(10000);
232 b.Property<
bool?>(
"RequireDMApiValidation")
234 .HasColumnType(
"boolean");
238 b.HasIndex(
"InstanceId")
241 b.ToTable(
"DreamMakerSettings");
244 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Instance", b =>
246 b.Property<
long>(
"Id")
247 .ValueGeneratedOnAdd()
248 .HasColumnType(
"bigint")
249 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
251 b.Property<
long>(
"AutoUpdateInterval")
252 .HasColumnType(
"bigint");
254 b.Property<
int>(
"ChatBotLimit")
255 .HasColumnType(
"integer");
257 b.Property<
int>(
"ConfigurationType")
258 .HasColumnType(
"integer");
260 b.Property<
string>(
"Name")
262 .HasColumnType(
"character varying(10000)")
263 .HasMaxLength(10000);
265 b.Property<
bool?>(
"Online")
267 .HasColumnType(
"boolean");
269 b.Property<
string>(
"Path")
271 .HasColumnType(
"text");
278 b.ToTable(
"Instances");
281 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstanceUser", b =>
283 b.Property<
long>(
"Id")
284 .ValueGeneratedOnAdd()
285 .HasColumnType(
"bigint")
286 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
288 b.Property<decimal>(
"ByondRights")
289 .HasColumnType(
"numeric(20,0)");
291 b.Property<decimal>(
"ChatBotRights")
292 .HasColumnType(
"numeric(20,0)");
294 b.Property<decimal>(
"ConfigurationRights")
295 .HasColumnType(
"numeric(20,0)");
297 b.Property<decimal>(
"DreamDaemonRights")
298 .HasColumnType(
"numeric(20,0)");
300 b.Property<decimal>(
"DreamMakerRights")
301 .HasColumnType(
"numeric(20,0)");
303 b.Property<
long>(
"InstanceId")
304 .HasColumnType(
"bigint");
306 b.Property<decimal>(
"InstanceUserRights")
307 .HasColumnType(
"numeric(20,0)");
309 b.Property<decimal>(
"RepositoryRights")
310 .HasColumnType(
"numeric(20,0)");
312 b.Property<
long>(
"UserId")
313 .HasColumnType(
"bigint");
317 b.HasIndex(
"InstanceId");
319 b.HasIndex(
"UserId",
"InstanceId")
322 b.ToTable(
"InstanceUsers");
325 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
327 b.Property<
long>(
"Id")
328 .ValueGeneratedOnAdd()
329 .HasColumnType(
"bigint")
330 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
332 b.Property<decimal?>(
"CancelRight")
333 .HasColumnType(
"numeric(20,0)");
335 b.Property<decimal?>(
"CancelRightsType")
336 .HasColumnType(
"numeric(20,0)");
338 b.Property<
bool?>(
"Cancelled")
340 .HasColumnType(
"boolean");
342 b.Property<
long?>(
"CancelledById")
343 .HasColumnType(
"bigint");
345 b.Property<
string>(
"Description")
347 .HasColumnType(
"text");
349 b.Property<
long?>(
"ErrorCode")
350 .HasColumnType(
"bigint");
352 b.Property<
string>(
"ExceptionDetails")
353 .HasColumnType(
"text");
355 b.Property<
long>(
"InstanceId")
356 .HasColumnType(
"bigint");
358 b.Property<DateTimeOffset?>(
"StartedAt")
360 .HasColumnType(
"timestamp with time zone");
362 b.Property<
long>(
"StartedById")
363 .HasColumnType(
"bigint");
365 b.Property<DateTimeOffset?>(
"StoppedAt")
366 .HasColumnType(
"timestamp with time zone");
370 b.HasIndex(
"CancelledById");
372 b.HasIndex(
"InstanceId");
374 b.HasIndex(
"StartedById");
379 modelBuilder.Entity(
"Tgstation.Server.Host.Models.OAuthConnection", b =>
381 b.Property<
long>(
"Id")
382 .ValueGeneratedOnAdd()
383 .HasColumnType(
"bigint")
384 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
386 b.Property<
string>(
"ExternalUserId")
388 .HasColumnType(
"character varying(100)")
391 b.Property<
int>(
"Provider")
392 .HasColumnType(
"integer");
394 b.Property<
long?>(
"UserId")
395 .HasColumnType(
"bigint");
399 b.HasIndex(
"UserId");
401 b.HasIndex(
"Provider",
"ExternalUserId")
404 b.ToTable(
"OAuthConnections");
407 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
409 b.Property<
long>(
"Id")
410 .ValueGeneratedOnAdd()
411 .HasColumnType(
"bigint")
412 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
414 b.Property<
string>(
"AccessIdentifier")
416 .HasColumnType(
"text");
418 b.Property<
long>(
"CompileJobId")
419 .HasColumnType(
"bigint");
421 b.Property<
int>(
"LaunchSecurityLevel")
422 .HasColumnType(
"integer");
424 b.Property<
int>(
"Port")
425 .HasColumnType(
"integer");
427 b.Property<
int>(
"ProcessId")
428 .HasColumnType(
"integer");
430 b.Property<
int>(
"RebootState")
431 .HasColumnType(
"integer");
435 b.HasIndex(
"CompileJobId");
437 b.ToTable(
"ReattachInformations");
440 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
442 b.Property<
long>(
"Id")
443 .ValueGeneratedOnAdd()
444 .HasColumnType(
"bigint")
445 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
447 b.Property<
string>(
"AccessToken")
448 .HasColumnType(
"character varying(10000)")
449 .HasMaxLength(10000);
451 b.Property<
string>(
"AccessUser")
452 .HasColumnType(
"character varying(10000)")
453 .HasMaxLength(10000);
455 b.Property<
bool?>(
"AutoUpdatesKeepTestMerges")
457 .HasColumnType(
"boolean");
459 b.Property<
bool?>(
"AutoUpdatesSynchronize")
461 .HasColumnType(
"boolean");
463 b.Property<
string>(
"CommitterEmail")
465 .HasColumnType(
"character varying(10000)")
466 .HasMaxLength(10000);
468 b.Property<
string>(
"CommitterName")
470 .HasColumnType(
"character varying(10000)")
471 .HasMaxLength(10000);
473 b.Property<
bool?>(
"CreateGitHubDeployments")
475 .HasColumnType(
"boolean");
477 b.Property<
long>(
"InstanceId")
478 .HasColumnType(
"bigint");
480 b.Property<
bool?>(
"PostTestMergeComment")
482 .HasColumnType(
"boolean");
484 b.Property<
bool?>(
"PushTestMergeCommits")
486 .HasColumnType(
"boolean");
488 b.Property<
bool?>(
"ShowTestMergeCommitters")
490 .HasColumnType(
"boolean");
494 b.HasIndex(
"InstanceId")
497 b.ToTable(
"RepositorySettings");
500 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
502 b.Property<
long>(
"Id")
503 .ValueGeneratedOnAdd()
504 .HasColumnType(
"bigint")
505 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
507 b.Property<
long>(
"RevisionInformationId")
508 .HasColumnType(
"bigint");
510 b.Property<
long>(
"TestMergeId")
511 .HasColumnType(
"bigint");
515 b.HasIndex(
"RevisionInformationId");
517 b.HasIndex(
"TestMergeId");
519 b.ToTable(
"RevInfoTestMerges");
522 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
524 b.Property<
long>(
"Id")
525 .ValueGeneratedOnAdd()
526 .HasColumnType(
"bigint")
527 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
529 b.Property<
string>(
"CommitSha")
531 .HasColumnType(
"character varying(40)")
534 b.Property<
long>(
"InstanceId")
535 .HasColumnType(
"bigint");
537 b.Property<
string>(
"OriginCommitSha")
539 .HasColumnType(
"character varying(40)")
544 b.HasIndex(
"InstanceId",
"CommitSha")
547 b.ToTable(
"RevisionInformations");
550 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
552 b.Property<
long>(
"Id")
553 .ValueGeneratedOnAdd()
554 .HasColumnType(
"bigint")
555 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
557 b.Property<
string>(
"Author")
559 .HasColumnType(
"text");
561 b.Property<
string>(
"BodyAtMerge")
563 .HasColumnType(
"text");
565 b.Property<
string>(
"Comment")
566 .HasColumnType(
"character varying(10000)")
567 .HasMaxLength(10000);
569 b.Property<DateTimeOffset>(
"MergedAt")
570 .HasColumnType(
"timestamp with time zone");
572 b.Property<
long>(
"MergedById")
573 .HasColumnType(
"bigint");
575 b.Property<
int>(
"Number")
576 .HasColumnType(
"integer");
578 b.Property<
long?>(
"PrimaryRevisionInformationId")
580 .HasColumnType(
"bigint");
582 b.Property<
string>(
"PullRequestRevision")
584 .HasColumnType(
"character varying(40)")
587 b.Property<
string>(
"TitleAtMerge")
589 .HasColumnType(
"text");
591 b.Property<
string>(
"Url")
593 .HasColumnType(
"text");
597 b.HasIndex(
"MergedById");
599 b.HasIndex(
"PrimaryRevisionInformationId")
602 b.ToTable(
"TestMerges");
605 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
607 b.Property<
long?>(
"Id")
608 .ValueGeneratedOnAdd()
609 .HasColumnType(
"bigint")
610 .HasAnnotation(
"Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
612 b.Property<decimal>(
"AdministrationRights")
613 .HasColumnType(
"numeric(20,0)");
615 b.Property<
string>(
"CanonicalName")
617 .HasColumnType(
"text");
619 b.Property<DateTimeOffset?>(
"CreatedAt")
621 .HasColumnType(
"timestamp with time zone");
623 b.Property<
long?>(
"CreatedById")
624 .HasColumnType(
"bigint");
626 b.Property<
bool?>(
"Enabled")
628 .HasColumnType(
"boolean");
630 b.Property<decimal>(
"InstanceManagerRights")
631 .HasColumnType(
"numeric(20,0)");
633 b.Property<DateTimeOffset?>(
"LastPasswordUpdate")
634 .HasColumnType(
"timestamp with time zone");
636 b.Property<
string>(
"Name")
638 .HasColumnType(
"character varying(10000)")
639 .HasMaxLength(10000);
641 b.Property<
string>(
"PasswordHash")
642 .HasColumnType(
"text");
644 b.Property<
string>(
"SystemIdentifier")
645 .HasColumnType(
"text");
649 b.HasIndex(
"CanonicalName")
652 b.HasIndex(
"CreatedById");
654 b.HasIndex(
"SystemIdentifier")
660 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatBot", b =>
662 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
663 .WithMany(
"ChatSettings")
664 .HasForeignKey(
"InstanceId")
665 .OnDelete(DeleteBehavior.Cascade)
669 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ChatChannel", b =>
671 b.HasOne(
"Tgstation.Server.Host.Models.ChatBot",
"ChatSettings")
672 .WithMany(
"Channels")
673 .HasForeignKey(
"ChatSettingsId")
674 .OnDelete(DeleteBehavior.Cascade)
678 modelBuilder.Entity(
"Tgstation.Server.Host.Models.CompileJob", b =>
680 b.HasOne(
"Tgstation.Server.Host.Models.Job",
"Job")
682 .HasForeignKey(
"Tgstation.Server.Host.Models.CompileJob",
"JobId")
683 .OnDelete(DeleteBehavior.Cascade)
686 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
687 .WithMany(
"CompileJobs")
688 .HasForeignKey(
"RevisionInformationId")
689 .OnDelete(DeleteBehavior.Cascade)
693 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
695 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
696 .WithOne(
"DreamDaemonSettings")
697 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamDaemonSettings",
"InstanceId")
698 .OnDelete(DeleteBehavior.Cascade)
702 modelBuilder.Entity(
"Tgstation.Server.Host.Models.DreamMakerSettings", b =>
704 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
705 .WithOne(
"DreamMakerSettings")
706 .HasForeignKey(
"Tgstation.Server.Host.Models.DreamMakerSettings",
"InstanceId")
707 .OnDelete(DeleteBehavior.Cascade)
711 modelBuilder.Entity(
"Tgstation.Server.Host.Models.InstanceUser", b =>
713 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
714 .WithMany(
"InstanceUsers")
715 .HasForeignKey(
"InstanceId")
716 .OnDelete(DeleteBehavior.Cascade)
719 b.HasOne(
"Tgstation.Server.Host.Models.User",
null)
720 .WithMany(
"InstanceUsers")
721 .HasForeignKey(
"UserId")
722 .OnDelete(DeleteBehavior.Cascade)
726 modelBuilder.Entity(
"Tgstation.Server.Host.Models.Job", b =>
728 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CancelledBy")
730 .HasForeignKey(
"CancelledById");
732 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
734 .HasForeignKey(
"InstanceId")
735 .OnDelete(DeleteBehavior.Cascade)
738 b.HasOne(
"Tgstation.Server.Host.Models.User",
"StartedBy")
740 .HasForeignKey(
"StartedById")
741 .OnDelete(DeleteBehavior.Cascade)
745 modelBuilder.Entity(
"Tgstation.Server.Host.Models.OAuthConnection", b =>
747 b.HasOne(
"Tgstation.Server.Host.Models.User",
"User")
748 .WithMany(
"OAuthConnections")
749 .HasForeignKey(
"UserId")
750 .OnDelete(DeleteBehavior.Cascade);
753 modelBuilder.Entity(
"Tgstation.Server.Host.Models.ReattachInformation", b =>
755 b.HasOne(
"Tgstation.Server.Host.Models.CompileJob",
"CompileJob")
757 .HasForeignKey(
"CompileJobId")
758 .OnDelete(DeleteBehavior.Cascade)
762 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RepositorySettings", b =>
764 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
765 .WithOne(
"RepositorySettings")
766 .HasForeignKey(
"Tgstation.Server.Host.Models.RepositorySettings",
"InstanceId")
767 .OnDelete(DeleteBehavior.Cascade)
771 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
773 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"RevisionInformation")
774 .WithMany(
"ActiveTestMerges")
775 .HasForeignKey(
"RevisionInformationId")
776 .OnDelete(DeleteBehavior.Cascade)
779 b.HasOne(
"Tgstation.Server.Host.Models.TestMerge",
"TestMerge")
780 .WithMany(
"RevisonInformations")
781 .HasForeignKey(
"TestMergeId")
782 .OnDelete(DeleteBehavior.ClientNoAction)
786 modelBuilder.Entity(
"Tgstation.Server.Host.Models.RevisionInformation", b =>
788 b.HasOne(
"Tgstation.Server.Host.Models.Instance",
"Instance")
789 .WithMany(
"RevisionInformations")
790 .HasForeignKey(
"InstanceId")
791 .OnDelete(DeleteBehavior.Cascade)
795 modelBuilder.Entity(
"Tgstation.Server.Host.Models.TestMerge", b =>
797 b.HasOne(
"Tgstation.Server.Host.Models.User",
"MergedBy")
798 .WithMany(
"TestMerges")
799 .HasForeignKey(
"MergedById")
800 .OnDelete(DeleteBehavior.Restrict)
803 b.HasOne(
"Tgstation.Server.Host.Models.RevisionInformation",
"PrimaryRevisionInformation")
804 .WithOne(
"PrimaryTestMerge")
805 .HasForeignKey(
"Tgstation.Server.Host.Models.TestMerge",
"PrimaryRevisionInformationId")
806 .OnDelete(DeleteBehavior.Cascade)
810 modelBuilder.Entity(
"Tgstation.Server.Host.Models.User", b =>
812 b.HasOne(
"Tgstation.Server.Host.Models.User",
"CreatedBy")
813 .WithMany(
"CreatedUsers")
814 .HasForeignKey(
"CreatedById");
816#pragma warning restore 612, 618