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