tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
20200807214754_SLAddDeploymentColumns.Designer.cs
Go to the documentation of this file.
1// <auto-generated />
2using System;
3using Microsoft.EntityFrameworkCore;
4using Microsoft.EntityFrameworkCore.Infrastructure;
5using Microsoft.EntityFrameworkCore.Migrations;
6
8{
9 [DbContext(typeof(SqliteDatabaseContext))]
10 [Migration("20200807214754_SLAddDeploymentColumns")]
11 partial class SLAddDeploymentColumns
12 {
14 protected override void BuildTargetModel(ModelBuilder modelBuilder)
15 {
16#pragma warning disable 612, 618
17 modelBuilder
18 .HasAnnotation("ProductVersion", "3.1.6");
19
20 modelBuilder.Entity("Tgstation.Server.Host.Models.ChatBot", b =>
21 {
22 b.Property<long>("Id")
23 .ValueGeneratedOnAdd()
24 .HasColumnType("INTEGER");
25
26 b.Property<ushort?>("ChannelLimit")
27 .IsRequired()
28 .HasColumnType("INTEGER");
29
30 b.Property<string>("ConnectionString")
31 .IsRequired()
32 .HasColumnType("TEXT")
33 .HasMaxLength(10000);
34
35 b.Property<bool?>("Enabled")
36 .HasColumnType("INTEGER");
37
38 b.Property<long>("InstanceId")
39 .HasColumnType("INTEGER");
40
41 b.Property<string>("Name")
42 .IsRequired()
43 .HasColumnType("TEXT")
44 .HasMaxLength(100);
45
46 b.Property<int>("Provider")
47 .HasColumnType("INTEGER");
48
49 b.Property<uint?>("ReconnectionInterval")
50 .IsRequired()
51 .HasColumnType("INTEGER");
52
53 b.HasKey("Id");
54
55 b.HasIndex("InstanceId", "Name")
56 .IsUnique();
57
58 b.ToTable("ChatBots");
59 });
60
61 modelBuilder.Entity("Tgstation.Server.Host.Models.ChatChannel", b =>
62 {
63 b.Property<long>("Id")
64 .ValueGeneratedOnAdd()
65 .HasColumnType("INTEGER");
66
67 b.Property<long>("ChatSettingsId")
68 .HasColumnType("INTEGER");
69
70 b.Property<ulong?>("DiscordChannelId")
71 .HasColumnType("INTEGER");
72
73 b.Property<string>("IrcChannel")
74 .HasColumnType("TEXT")
75 .HasMaxLength(100);
76
77 b.Property<bool?>("IsAdminChannel")
78 .IsRequired()
79 .HasColumnType("INTEGER");
80
81 b.Property<bool?>("IsUpdatesChannel")
82 .IsRequired()
83 .HasColumnType("INTEGER");
84
85 b.Property<bool?>("IsWatchdogChannel")
86 .IsRequired()
87 .HasColumnType("INTEGER");
88
89 b.Property<string>("Tag")
90 .HasColumnType("TEXT")
91 .HasMaxLength(10000);
92
93 b.HasKey("Id");
94
95 b.HasIndex("ChatSettingsId", "DiscordChannelId")
96 .IsUnique();
97
98 b.HasIndex("ChatSettingsId", "IrcChannel")
99 .IsUnique();
100
101 b.ToTable("ChatChannels");
102 });
103
104 modelBuilder.Entity("Tgstation.Server.Host.Models.CompileJob", b =>
105 {
106 b.Property<long>("Id")
107 .ValueGeneratedOnAdd()
108 .HasColumnType("INTEGER");
109
110 b.Property<string>("ByondVersion")
111 .IsRequired()
112 .HasColumnType("TEXT");
113
114 b.Property<int?>("DMApiMajorVersion")
115 .HasColumnType("INTEGER");
116
117 b.Property<int?>("DMApiMinorVersion")
118 .HasColumnType("INTEGER");
119
120 b.Property<int?>("DMApiPatchVersion")
121 .HasColumnType("INTEGER");
122
123 b.Property<Guid?>("DirectoryName")
124 .IsRequired()
125 .HasColumnType("TEXT");
126
127 b.Property<string>("DmeName")
128 .IsRequired()
129 .HasColumnType("TEXT");
130
131 b.Property<int?>("GitHubDeploymentId")
132 .HasColumnType("INTEGER");
133
134 b.Property<long?>("GitHubRepoId")
135 .HasColumnType("INTEGER");
136
137 b.Property<long>("JobId")
138 .HasColumnType("INTEGER");
139
140 b.Property<int?>("MinimumSecurityLevel")
141 .HasColumnType("INTEGER");
142
143 b.Property<string>("Output")
144 .IsRequired()
145 .HasColumnType("TEXT");
146
147 b.Property<long>("RevisionInformationId")
148 .HasColumnType("INTEGER");
149
150 b.HasKey("Id");
151
152 b.HasIndex("DirectoryName");
153
154 b.HasIndex("JobId")
155 .IsUnique();
156
157 b.HasIndex("RevisionInformationId");
158
159 b.ToTable("CompileJobs");
160 });
161
162 modelBuilder.Entity("Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
163 {
164 b.Property<long>("Id")
165 .ValueGeneratedOnAdd()
166 .HasColumnType("INTEGER");
167
168 b.Property<bool?>("AllowWebClient")
169 .IsRequired()
170 .HasColumnType("INTEGER");
171
172 b.Property<bool?>("AutoStart")
173 .IsRequired()
174 .HasColumnType("INTEGER");
175
176 b.Property<uint?>("HeartbeatSeconds")
177 .IsRequired()
178 .HasColumnType("INTEGER");
179
180 b.Property<long>("InstanceId")
181 .HasColumnType("INTEGER");
182
183 b.Property<ushort?>("Port")
184 .IsRequired()
185 .HasColumnType("INTEGER");
186
187 b.Property<int>("SecurityLevel")
188 .HasColumnType("INTEGER");
189
190 b.Property<uint?>("StartupTimeout")
191 .IsRequired()
192 .HasColumnType("INTEGER");
193
194 b.Property<uint?>("TopicRequestTimeout")
195 .IsRequired()
196 .HasColumnType("INTEGER");
197
198 b.HasKey("Id");
199
200 b.HasIndex("InstanceId")
201 .IsUnique();
202
203 b.ToTable("DreamDaemonSettings");
204 });
205
206 modelBuilder.Entity("Tgstation.Server.Host.Models.DreamMakerSettings", b =>
207 {
208 b.Property<long>("Id")
209 .ValueGeneratedOnAdd()
210 .HasColumnType("INTEGER");
211
212 b.Property<ushort?>("ApiValidationPort")
213 .IsRequired()
214 .HasColumnType("INTEGER");
215
216 b.Property<int>("ApiValidationSecurityLevel")
217 .HasColumnType("INTEGER");
218
219 b.Property<long>("InstanceId")
220 .HasColumnType("INTEGER");
221
222 b.Property<string>("ProjectName")
223 .HasColumnType("TEXT")
224 .HasMaxLength(10000);
225
226 b.Property<bool?>("RequireDMApiValidation")
227 .IsRequired()
228 .HasColumnType("INTEGER");
229
230 b.HasKey("Id");
231
232 b.HasIndex("InstanceId")
233 .IsUnique();
234
235 b.ToTable("DreamMakerSettings");
236 });
237
238 modelBuilder.Entity("Tgstation.Server.Host.Models.Instance", b =>
239 {
240 b.Property<long>("Id")
241 .ValueGeneratedOnAdd()
242 .HasColumnType("INTEGER");
243
244 b.Property<uint?>("AutoUpdateInterval")
245 .IsRequired()
246 .HasColumnType("INTEGER");
247
248 b.Property<ushort?>("ChatBotLimit")
249 .IsRequired()
250 .HasColumnType("INTEGER");
251
252 b.Property<int>("ConfigurationType")
253 .HasColumnType("INTEGER");
254
255 b.Property<string>("Name")
256 .IsRequired()
257 .HasColumnType("TEXT")
258 .HasMaxLength(10000);
259
260 b.Property<bool?>("Online")
261 .IsRequired()
262 .HasColumnType("INTEGER");
263
264 b.Property<string>("Path")
265 .IsRequired()
266 .HasColumnType("TEXT");
267
268 b.HasKey("Id");
269
270 b.HasIndex("Path")
271 .IsUnique();
272
273 b.ToTable("Instances");
274 });
275
276 modelBuilder.Entity("Tgstation.Server.Host.Models.InstanceUser", b =>
277 {
278 b.Property<long>("Id")
279 .ValueGeneratedOnAdd()
280 .HasColumnType("INTEGER");
281
282 b.Property<ulong>("ByondRights")
283 .HasColumnType("INTEGER");
284
285 b.Property<ulong>("ChatBotRights")
286 .HasColumnType("INTEGER");
287
288 b.Property<ulong>("ConfigurationRights")
289 .HasColumnType("INTEGER");
290
291 b.Property<ulong>("DreamDaemonRights")
292 .HasColumnType("INTEGER");
293
294 b.Property<ulong>("DreamMakerRights")
295 .HasColumnType("INTEGER");
296
297 b.Property<long>("InstanceId")
298 .HasColumnType("INTEGER");
299
300 b.Property<ulong>("InstanceUserRights")
301 .HasColumnType("INTEGER");
302
303 b.Property<ulong>("RepositoryRights")
304 .HasColumnType("INTEGER");
305
306 b.Property<long>("UserId")
307 .HasColumnType("INTEGER");
308
309 b.HasKey("Id");
310
311 b.HasIndex("InstanceId");
312
313 b.HasIndex("UserId", "InstanceId")
314 .IsUnique();
315
316 b.ToTable("InstanceUsers");
317 });
318
319 modelBuilder.Entity("Tgstation.Server.Host.Models.Job", b =>
320 {
321 b.Property<long>("Id")
322 .ValueGeneratedOnAdd()
323 .HasColumnType("INTEGER");
324
325 b.Property<ulong?>("CancelRight")
326 .HasColumnType("INTEGER");
327
328 b.Property<ulong?>("CancelRightsType")
329 .HasColumnType("INTEGER");
330
331 b.Property<bool?>("Cancelled")
332 .IsRequired()
333 .HasColumnType("INTEGER");
334
335 b.Property<long?>("CancelledById")
336 .HasColumnType("INTEGER");
337
338 b.Property<string>("Description")
339 .IsRequired()
340 .HasColumnType("TEXT");
341
342 b.Property<uint?>("ErrorCode")
343 .HasColumnType("INTEGER");
344
345 b.Property<string>("ExceptionDetails")
346 .HasColumnType("TEXT");
347
348 b.Property<long>("InstanceId")
349 .HasColumnType("INTEGER");
350
351 b.Property<DateTimeOffset?>("StartedAt")
352 .IsRequired()
353 .HasColumnType("TEXT");
354
355 b.Property<long>("StartedById")
356 .HasColumnType("INTEGER");
357
358 b.Property<DateTimeOffset?>("StoppedAt")
359 .HasColumnType("TEXT");
360
361 b.HasKey("Id");
362
363 b.HasIndex("CancelledById");
364
365 b.HasIndex("InstanceId");
366
367 b.HasIndex("StartedById");
368
369 b.ToTable("Jobs");
370 });
371
372 modelBuilder.Entity("Tgstation.Server.Host.Models.ReattachInformation", b =>
373 {
374 b.Property<long>("Id")
375 .ValueGeneratedOnAdd()
376 .HasColumnType("INTEGER");
377
378 b.Property<string>("AccessIdentifier")
379 .IsRequired()
380 .HasColumnType("TEXT");
381
382 b.Property<long>("CompileJobId")
383 .HasColumnType("INTEGER");
384
385 b.Property<int>("LaunchSecurityLevel")
386 .HasColumnType("INTEGER");
387
388 b.Property<ushort>("Port")
389 .HasColumnType("INTEGER");
390
391 b.Property<int>("ProcessId")
392 .HasColumnType("INTEGER");
393
394 b.Property<int>("RebootState")
395 .HasColumnType("INTEGER");
396
397 b.HasKey("Id");
398
399 b.HasIndex("CompileJobId");
400
401 b.ToTable("ReattachInformations");
402 });
403
404 modelBuilder.Entity("Tgstation.Server.Host.Models.RepositorySettings", b =>
405 {
406 b.Property<long>("Id")
407 .ValueGeneratedOnAdd()
408 .HasColumnType("INTEGER");
409
410 b.Property<string>("AccessToken")
411 .HasColumnType("TEXT")
412 .HasMaxLength(10000);
413
414 b.Property<string>("AccessUser")
415 .HasColumnType("TEXT")
416 .HasMaxLength(10000);
417
418 b.Property<bool?>("AutoUpdatesKeepTestMerges")
419 .IsRequired()
420 .HasColumnType("INTEGER");
421
422 b.Property<bool?>("AutoUpdatesSynchronize")
423 .IsRequired()
424 .HasColumnType("INTEGER");
425
426 b.Property<string>("CommitterEmail")
427 .IsRequired()
428 .HasColumnType("TEXT")
429 .HasMaxLength(10000);
430
431 b.Property<string>("CommitterName")
432 .IsRequired()
433 .HasColumnType("TEXT")
434 .HasMaxLength(10000);
435
436 b.Property<bool?>("CreateGitHubDeployments")
437 .IsRequired()
438 .HasColumnType("INTEGER");
439
440 b.Property<long>("InstanceId")
441 .HasColumnType("INTEGER");
442
443 b.Property<bool?>("PostTestMergeComment")
444 .IsRequired()
445 .HasColumnType("INTEGER");
446
447 b.Property<bool?>("PushTestMergeCommits")
448 .IsRequired()
449 .HasColumnType("INTEGER");
450
451 b.Property<bool?>("ShowTestMergeCommitters")
452 .IsRequired()
453 .HasColumnType("INTEGER");
454
455 b.HasKey("Id");
456
457 b.HasIndex("InstanceId")
458 .IsUnique();
459
460 b.ToTable("RepositorySettings");
461 });
462
463 modelBuilder.Entity("Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
464 {
465 b.Property<long>("Id")
466 .ValueGeneratedOnAdd()
467 .HasColumnType("INTEGER");
468
469 b.Property<long>("RevisionInformationId")
470 .HasColumnType("INTEGER");
471
472 b.Property<long>("TestMergeId")
473 .HasColumnType("INTEGER");
474
475 b.HasKey("Id");
476
477 b.HasIndex("RevisionInformationId");
478
479 b.HasIndex("TestMergeId");
480
481 b.ToTable("RevInfoTestMerges");
482 });
483
484 modelBuilder.Entity("Tgstation.Server.Host.Models.RevisionInformation", b =>
485 {
486 b.Property<long>("Id")
487 .ValueGeneratedOnAdd()
488 .HasColumnType("INTEGER");
489
490 b.Property<string>("CommitSha")
491 .IsRequired()
492 .HasColumnType("TEXT")
493 .HasMaxLength(40);
494
495 b.Property<long>("InstanceId")
496 .HasColumnType("INTEGER");
497
498 b.Property<string>("OriginCommitSha")
499 .IsRequired()
500 .HasColumnType("TEXT")
501 .HasMaxLength(40);
502
503 b.HasKey("Id");
504
505 b.HasIndex("InstanceId", "CommitSha")
506 .IsUnique();
507
508 b.ToTable("RevisionInformations");
509 });
510
511 modelBuilder.Entity("Tgstation.Server.Host.Models.TestMerge", b =>
512 {
513 b.Property<long>("Id")
514 .ValueGeneratedOnAdd()
515 .HasColumnType("INTEGER");
516
517 b.Property<string>("Author")
518 .IsRequired()
519 .HasColumnType("TEXT");
520
521 b.Property<string>("BodyAtMerge")
522 .IsRequired()
523 .HasColumnType("TEXT");
524
525 b.Property<string>("Comment")
526 .HasColumnType("TEXT")
527 .HasMaxLength(10000);
528
529 b.Property<DateTimeOffset>("MergedAt")
530 .HasColumnType("TEXT");
531
532 b.Property<long>("MergedById")
533 .HasColumnType("INTEGER");
534
535 b.Property<int>("Number")
536 .HasColumnType("INTEGER");
537
538 b.Property<long?>("PrimaryRevisionInformationId")
539 .IsRequired()
540 .HasColumnType("INTEGER");
541
542 b.Property<string>("PullRequestRevision")
543 .IsRequired()
544 .HasColumnType("TEXT")
545 .HasMaxLength(40);
546
547 b.Property<string>("TitleAtMerge")
548 .IsRequired()
549 .HasColumnType("TEXT");
550
551 b.Property<string>("Url")
552 .IsRequired()
553 .HasColumnType("TEXT");
554
555 b.HasKey("Id");
556
557 b.HasIndex("MergedById");
558
559 b.HasIndex("PrimaryRevisionInformationId")
560 .IsUnique();
561
562 b.ToTable("TestMerges");
563 });
564
565 modelBuilder.Entity("Tgstation.Server.Host.Models.User", b =>
566 {
567 b.Property<long?>("Id")
568 .ValueGeneratedOnAdd()
569 .HasColumnType("INTEGER");
570
571 b.Property<ulong>("AdministrationRights")
572 .HasColumnType("INTEGER");
573
574 b.Property<string>("CanonicalName")
575 .IsRequired()
576 .HasColumnType("TEXT");
577
578 b.Property<DateTimeOffset?>("CreatedAt")
579 .IsRequired()
580 .HasColumnType("TEXT");
581
582 b.Property<long?>("CreatedById")
583 .HasColumnType("INTEGER");
584
585 b.Property<bool?>("Enabled")
586 .IsRequired()
587 .HasColumnType("INTEGER");
588
589 b.Property<ulong>("InstanceManagerRights")
590 .HasColumnType("INTEGER");
591
592 b.Property<DateTimeOffset?>("LastPasswordUpdate")
593 .HasColumnType("TEXT");
594
595 b.Property<string>("Name")
596 .IsRequired()
597 .HasColumnType("TEXT")
598 .HasMaxLength(10000);
599
600 b.Property<string>("PasswordHash")
601 .HasColumnType("TEXT");
602
603 b.Property<string>("SystemIdentifier")
604 .HasColumnType("TEXT");
605
606 b.HasKey("Id");
607
608 b.HasIndex("CanonicalName")
609 .IsUnique();
610
611 b.HasIndex("CreatedById");
612
613 b.HasIndex("SystemIdentifier")
614 .IsUnique();
615
616 b.ToTable("Users");
617 });
618
619 modelBuilder.Entity("Tgstation.Server.Host.Models.ChatBot", b =>
620 {
621 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
622 .WithMany("ChatSettings")
623 .HasForeignKey("InstanceId")
624 .OnDelete(DeleteBehavior.Cascade)
625 .IsRequired();
626 });
627
628 modelBuilder.Entity("Tgstation.Server.Host.Models.ChatChannel", b =>
629 {
630 b.HasOne("Tgstation.Server.Host.Models.ChatBot", "ChatSettings")
631 .WithMany("Channels")
632 .HasForeignKey("ChatSettingsId")
633 .OnDelete(DeleteBehavior.Cascade)
634 .IsRequired();
635 });
636
637 modelBuilder.Entity("Tgstation.Server.Host.Models.CompileJob", b =>
638 {
639 b.HasOne("Tgstation.Server.Host.Models.Job", "Job")
640 .WithOne()
641 .HasForeignKey("Tgstation.Server.Host.Models.CompileJob", "JobId")
642 .OnDelete(DeleteBehavior.Cascade)
643 .IsRequired();
644
645 b.HasOne("Tgstation.Server.Host.Models.RevisionInformation", "RevisionInformation")
646 .WithMany("CompileJobs")
647 .HasForeignKey("RevisionInformationId")
648 .OnDelete(DeleteBehavior.ClientNoAction)
649 .IsRequired();
650 });
651
652 modelBuilder.Entity("Tgstation.Server.Host.Models.DreamDaemonSettings", b =>
653 {
654 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
655 .WithOne("DreamDaemonSettings")
656 .HasForeignKey("Tgstation.Server.Host.Models.DreamDaemonSettings", "InstanceId")
657 .OnDelete(DeleteBehavior.Cascade)
658 .IsRequired();
659 });
660
661 modelBuilder.Entity("Tgstation.Server.Host.Models.DreamMakerSettings", b =>
662 {
663 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
664 .WithOne("DreamMakerSettings")
665 .HasForeignKey("Tgstation.Server.Host.Models.DreamMakerSettings", "InstanceId")
666 .OnDelete(DeleteBehavior.Cascade)
667 .IsRequired();
668 });
669
670 modelBuilder.Entity("Tgstation.Server.Host.Models.InstanceUser", b =>
671 {
672 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
673 .WithMany("InstanceUsers")
674 .HasForeignKey("InstanceId")
675 .OnDelete(DeleteBehavior.Cascade)
676 .IsRequired();
677
678 b.HasOne("Tgstation.Server.Host.Models.User", null)
679 .WithMany("InstanceUsers")
680 .HasForeignKey("UserId")
681 .OnDelete(DeleteBehavior.Cascade)
682 .IsRequired();
683 });
684
685 modelBuilder.Entity("Tgstation.Server.Host.Models.Job", b =>
686 {
687 b.HasOne("Tgstation.Server.Host.Models.User", "CancelledBy")
688 .WithMany()
689 .HasForeignKey("CancelledById");
690
691 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
692 .WithMany("Jobs")
693 .HasForeignKey("InstanceId")
694 .OnDelete(DeleteBehavior.Cascade)
695 .IsRequired();
696
697 b.HasOne("Tgstation.Server.Host.Models.User", "StartedBy")
698 .WithMany()
699 .HasForeignKey("StartedById")
700 .OnDelete(DeleteBehavior.Cascade)
701 .IsRequired();
702 });
703
704 modelBuilder.Entity("Tgstation.Server.Host.Models.ReattachInformation", b =>
705 {
706 b.HasOne("Tgstation.Server.Host.Models.CompileJob", "CompileJob")
707 .WithMany()
708 .HasForeignKey("CompileJobId")
709 .OnDelete(DeleteBehavior.Cascade)
710 .IsRequired();
711 });
712
713 modelBuilder.Entity("Tgstation.Server.Host.Models.RepositorySettings", b =>
714 {
715 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
716 .WithOne("RepositorySettings")
717 .HasForeignKey("Tgstation.Server.Host.Models.RepositorySettings", "InstanceId")
718 .OnDelete(DeleteBehavior.Cascade)
719 .IsRequired();
720 });
721
722 modelBuilder.Entity("Tgstation.Server.Host.Models.RevInfoTestMerge", b =>
723 {
724 b.HasOne("Tgstation.Server.Host.Models.RevisionInformation", "RevisionInformation")
725 .WithMany("ActiveTestMerges")
726 .HasForeignKey("RevisionInformationId")
727 .OnDelete(DeleteBehavior.Cascade)
728 .IsRequired();
729
730 b.HasOne("Tgstation.Server.Host.Models.TestMerge", "TestMerge")
731 .WithMany("RevisonInformations")
732 .HasForeignKey("TestMergeId")
733 .OnDelete(DeleteBehavior.ClientNoAction)
734 .IsRequired();
735 });
736
737 modelBuilder.Entity("Tgstation.Server.Host.Models.RevisionInformation", b =>
738 {
739 b.HasOne("Tgstation.Server.Host.Models.Instance", "Instance")
740 .WithMany("RevisionInformations")
741 .HasForeignKey("InstanceId")
742 .OnDelete(DeleteBehavior.Cascade)
743 .IsRequired();
744 });
745
746 modelBuilder.Entity("Tgstation.Server.Host.Models.TestMerge", b =>
747 {
748 b.HasOne("Tgstation.Server.Host.Models.User", "MergedBy")
749 .WithMany("TestMerges")
750 .HasForeignKey("MergedById")
751 .OnDelete(DeleteBehavior.Restrict)
752 .IsRequired();
753
754 b.HasOne("Tgstation.Server.Host.Models.RevisionInformation", "PrimaryRevisionInformation")
755 .WithOne("PrimaryTestMerge")
756 .HasForeignKey("Tgstation.Server.Host.Models.TestMerge", "PrimaryRevisionInformationId")
757 .OnDelete(DeleteBehavior.Cascade)
758 .IsRequired();
759 });
760
761 modelBuilder.Entity("Tgstation.Server.Host.Models.User", b =>
762 {
763 b.HasOne("Tgstation.Server.Host.Models.User", "CreatedBy")
764 .WithMany("CreatedUsers")
765 .HasForeignKey("CreatedById");
766 });
767#pragma warning restore 612, 618
768 }
769 }
770}