Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream Sync #27

Merged
merged 892 commits into from
Jan 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
892 commits
Select commit Hold shift + click to select a range
60d267d
Automatic changelog update
PJBot Dec 6, 2023
994eb01
research console radio messages on unlock (#22166)
EmoGarbage404 Dec 6, 2023
9327ee5
Add public methods to relay inventory events (#22165)
DrSmugleaf Dec 6, 2023
bbd97f4
Pool NPC entitylookup fields (#21806)
metalgearsloth Dec 6, 2023
01fccca
Disposals chute make it go splat (#20848)
Henry12116 Dec 6, 2023
28f80a6
Update submodule to 187.2.0 (#22178)
metalgearsloth Dec 6, 2023
20668b0
EMT belt (#22173)
JoeHammad1844 Dec 6, 2023
9a35ef4
Options are statements, not questions (#22185)
Errant-4 Dec 6, 2023
9ba2a62
medibot fixes and refactoring (#21852)
deltanedas Dec 6, 2023
c9e5cae
Automatic changelog update
PJBot Dec 6, 2023
5e51318
Fix toggleable helmets (#22195)
metalgearsloth Dec 6, 2023
a5f4a4a
Automatic changelog update
PJBot Dec 6, 2023
0786e9e
Make boots with storage use itemslot (#22186)
deltanedas Dec 6, 2023
7c50b0f
Fixes speech bubbles now lacking names for the living (#22191)
deathride58 Dec 6, 2023
a538470
trim bibles.yml (#22184)
lzk228 Dec 6, 2023
5dc3195
Automatic changelog update
PJBot Dec 6, 2023
f648007
Log server ID in connection logs table (#21911)
PJB3005 Dec 6, 2023
ba5dc40
Automatic changelog update
PJBot Dec 7, 2023
41c322b
Lizard Underbelly Marking (#22200)
Nairodian Dec 7, 2023
f8c3079
Automatic changelog update
PJBot Dec 7, 2023
0df9e39
Make test EntitySpecifiers ignore entities with null prototypes (#22174)
TemporalOroboros Dec 7, 2023
e0ce1c5
nar'sie fake (#20299)
deltanedas Dec 7, 2023
6c7fd94
Space cobra 1.1 (#20298)
Nimfar11 Dec 7, 2023
ecfb57c
Automatic changelog update
PJBot Dec 7, 2023
53df261
3 New Brute Chemicals (And Razorium) (#22103)
CrigCrag Dec 7, 2023
2d3e32f
Automatic changelog update
PJBot Dec 7, 2023
94c3a70
Mirror speed penalty for worn duffels and hardsuits when in-hand (#22…
EmoGarbage404 Dec 7, 2023
f4414d6
Automatic changelog update
PJBot Dec 7, 2023
5556cba
Narsie test bandaid (#22206)
EmoGarbage404 Dec 7, 2023
f78449c
fix explosion resistance (#22224)
deltanedas Dec 7, 2023
75bfc34
Automatic changelog update
PJBot Dec 7, 2023
485d658
Inventory slot enumerator rejig (#21788)
ElectroJr Dec 7, 2023
e5f07de
Fix inventory enumerator resolve error (#22227)
ElectroJr Dec 7, 2023
1c9943c
added classic cornrows 2 (#22210)
liltenhead Dec 7, 2023
3e21de8
Implements greyscale (white) chairs (#22209)
Flareguy Dec 7, 2023
65e9318
fixes the descriptions of the ert hardsuit helmets + some other misc …
Flareguy Dec 7, 2023
eea8df9
Automatic changelog update
PJBot Dec 7, 2023
0901a1c
Automatic changelog update
PJBot Dec 8, 2023
208c765
psychologist bed (#22223)
Nimfar11 Dec 8, 2023
d35e2c3
Automatic changelog update
PJBot Dec 8, 2023
0437861
hellfire (#22243)
Emisse Dec 8, 2023
31b3c31
Automatic changelog update
PJBot Dec 8, 2023
aca4a60
Automatic changelog update
PJBot Dec 8, 2023
eb76e3d
Rat king fixes + buffs (#22247)
QuietlyWhisper Dec 8, 2023
b9dc93d
Automatic changelog update
PJBot Dec 8, 2023
b5b2375
adds lime tiles (#22235)
Flareguy Dec 8, 2023
9dfbd8f
give command staff brig access (#22230)
Emisse Dec 8, 2023
f2c9f40
Experimental Anomaly Vessel (#22233)
EmoGarbage404 Dec 8, 2023
5ff9e6b
Automatic changelog update
PJBot Dec 8, 2023
0fe965e
Fixes reptilian "full" sprite + adds reptilian template to the raw sp…
Flareguy Dec 8, 2023
73bec36
Fix being unable to open chat channel drop-down. (#22255)
PJB3005 Dec 9, 2023
a8866e3
Fixed credits action failing (#21733)
VasilisThePikachu Dec 9, 2023
26c8560
Automatic changelog update
PJBot Dec 9, 2023
97ed68e
knives get throwing damage (#22248)
JoeHammad1844 Dec 9, 2023
587121e
Automatic changelog update
PJBot Dec 9, 2023
d864ad7
Make audio sliders use gain not volume (#21984)
metalgearsloth Dec 9, 2023
21f77e2
Automatic changelog update
PJBot Dec 9, 2023
3a31b5e
Set enabled on RadiationSourceComponent to true by default (#22259)
EmoGarbage404 Dec 9, 2023
c9b4d50
Automatic changelog update
PJBot Dec 9, 2023
5b10819
Add audio multipliers back (#22260)
metalgearsloth Dec 9, 2023
b1c3b21
Automatic changelog update
PJBot Dec 9, 2023
6433497
Update submodule to 188.0.0 (#22262)
metalgearsloth Dec 9, 2023
781c737
Fix entity logs verb (#22231)
VigersRay Dec 9, 2023
b82671b
Familiar Garbs (#22253)
noctyrnal Dec 9, 2023
9e92cea
Stop terminating entities from being removed from containers (#22232)
ElectroJr Dec 10, 2023
c8f084b
Update submodule to 189.0.0 (#22281)
metalgearsloth Dec 10, 2023
5ddae50
Prevent entities who do not have hands from setting off bombs. (#22250)
nok-ko Dec 10, 2023
cf5a915
Adds placement mode to the wall dispensers (#22211)
Tunguso4ka Dec 10, 2023
badbf7a
Automatic changelog update
PJBot Dec 10, 2023
66b5437
Crew monitor revisit (#22240)
chromiumboy Dec 10, 2023
4ee044b
Automatic changelog update
PJBot Dec 10, 2023
76b4a30
Update Credits (#22279)
github-actions[bot] Dec 10, 2023
af7fe60
Update submodule to 190.0.0 (#22289)
metalgearsloth Dec 10, 2023
15eb80d
Automatic changelog update
PJBot Dec 10, 2023
867f873
Fix MapPainter (#22290)
metalgearsloth Dec 10, 2023
5cb0fb4
Fix set target zoom data field for ContentEye (#22292)
Morb0 Dec 10, 2023
bad36e1
Remove gas tank throwing damage (#22296)
metalgearsloth Dec 10, 2023
b1564a9
Automatic changelog update
PJBot Dec 10, 2023
33e3e8b
High-latency DB testing stuff (#22282)
PJB3005 Dec 10, 2023
ef25001
Don't allow disarm on incapacitated targets (#22298)
Errant-4 Dec 10, 2023
3b4b4ee
small food slicing cleanup (#22291)
deltanedas Dec 10, 2023
3ffce57
fix monkey pull (#22280)
Dutch-VanDerLinde Dec 10, 2023
da901e8
Welder Blindness Effect Increase (#22304)
Nairodian Dec 10, 2023
5cf7a62
Automatic changelog update
PJBot Dec 10, 2023
7bdab32
Medical Gauze Markings (#22245)
KittenColony Dec 10, 2023
ef81e6a
Automatic changelog update
PJBot Dec 10, 2023
f125755
Add PercussionInstrument tag to Woodblock (#21874)
DanSAussieITS Dec 10, 2023
9013735
Fix hand order (#22306)
EmoGarbage404 Dec 11, 2023
109263e
Cooler zombie moths (#21744)
Simyon264 Dec 11, 2023
358551b
Automatic changelog update
PJBot Dec 11, 2023
253cbc0
Added 7 textures of winter boots for each department. (#21810)
TheKilk Dec 11, 2023
7bda19e
Automatic changelog update
PJBot Dec 11, 2023
2340e1f
Animals obey conservation of matter unless they are undead (#21922)
Sirionaut Dec 11, 2023
3e1b67b
Automatic changelog update
PJBot Dec 11, 2023
ce2a722
Make pipes leak when destroyed (#20928)
Partmedia Dec 11, 2023
f9015fc
Automatic changelog update
PJBot Dec 11, 2023
b913333
Janitorial Bomb Suit (#22244)
UbaserB Dec 11, 2023
2077409
Automatic changelog update
PJBot Dec 11, 2023
a22f199
technical storage board spawner (#22314)
Emisse Dec 11, 2023
eba8043
Fix planet command being ran on existing maps (#21775)
metalgearsloth Dec 11, 2023
4f7d0d2
Fix Glorfcode (#22271)
nok-ko Dec 11, 2023
128a175
Automatic changelog update
PJBot Dec 11, 2023
49cae81
Update submodule to 190.1.0 (#22317)
metalgearsloth Dec 11, 2023
cd93623
Two variations of human scars (#21895)
UbaserB Dec 11, 2023
78c992a
vault fridge (#22318)
Emisse Dec 11, 2023
5f16616
add black gloves to clothesmate (#22312)
QuietlyWhisper Dec 11, 2023
3ea498a
Emergency light tweaks (#22310)
mirrorcult Dec 11, 2023
b93f8f0
fix (#22316)
UbaserB Dec 11, 2023
e7326bd
Sync changelog
DebugOk Dec 16, 2023
44e7a26
Ert names ops (#22246)
lzk228 Dec 11, 2023
c8c6957
Remove noSpawn from all hardsuit helmets - allowing them to appear in…
Rainfey Dec 11, 2023
dac370b
The HUDening:tm: (SS13 HUD themes, Classic as default, and more) (#22…
Flareguy Dec 11, 2023
b99ebcf
Turn arrivals into a planetmap (#21777)
metalgearsloth Dec 11, 2023
4749a69
Adds cosmetic sunglasses (#22311)
QuietlyWhisper Dec 11, 2023
b26c986
make syndie bag and rigs explosion resistant (#22088)
deltanedas Dec 11, 2023
89416b9
Audio fixes (#22324)
metalgearsloth Dec 11, 2023
e43b63f
Update submodule to 190.1.1 (#22325)
metalgearsloth Dec 11, 2023
2873147
Shuffle body container subs slightly (#21084)
metalgearsloth Dec 11, 2023
537d2fc
give beer goggles solution scanning (#22321)
QuietlyWhisper Dec 11, 2023
c6e7963
Add Emergency Shotgun Cabinet (#21419) (#22327)
QuietlyWhisper Dec 11, 2023
1ee5d1a
Add jensen glasses (#22323)
MACMAN2003 Dec 11, 2023
82307ae
Revert "Shuffle body container subs slightly (#21084)" (#22339)
metalgearsloth Dec 11, 2023
002b25e
Remove gas prices temporarily (#22285)
metalgearsloth Dec 11, 2023
040dfcb
the petahning (#22343)
asperger-sind Dec 11, 2023
c80aae7
Update guidebook botany entry (#22351)
willicassi Dec 11, 2023
936c267
Document why tile ripping was disabled upstream (#22315)
Flareguy Dec 11, 2023
f456d0f
Remove tasers from arsenal tech (#22361)
EmoGarbage404 Dec 11, 2023
beaedc0
Sell plasma canister at cargo (#22357)
Partmedia Dec 11, 2023
fbabc7d
Don't apply toggleclothing in state handling (#22347)
metalgearsloth Dec 11, 2023
f3f3dcf
artifact crusher (#22301)
EmoGarbage404 Dec 11, 2023
27d2da6
Prevent pacified players from throwing dangerous stuff (#22268)
nok-ko Dec 11, 2023
b480275
Add atmos time compression (#21954)
Partmedia Dec 11, 2023
1ce5e81
Temporarily disable round-end PVS overrides (#22365)
ElectroJr Dec 12, 2023
9a16073
Fix pvs override error (#22366)
ElectroJr Dec 12, 2023
b17838e
Mothroach Cargo Crates (#21565)
BYONDFuckery Dec 12, 2023
a1e3907
Fix crucial game breaking bug. (#22376)
IProduceWidgets Dec 12, 2023
548b6f4
Split up atmos speedup from heat scaling (#22372)
Partmedia Dec 12, 2023
3dd25da
guns and ammo (#22380)
IProduceWidgets Dec 12, 2023
aa11a2b
Jar now fills (#22384)
IProduceWidgets Dec 12, 2023
1b6774e
Take the L (#22387)
IProduceWidgets Dec 12, 2023
350ec90
Pipe bigger (#22390)
IProduceWidgets Dec 12, 2023
acdfe39
Cash and Ash presents (#22391)
IProduceWidgets Dec 12, 2023
f10dee3
makes a non lethal (rubbers) lecter. (#22393)
IProduceWidgets Dec 12, 2023
a647e2e
Mops and Defibs larger, Pinpointers desc, Monkeycube fix, appraisal s…
DebugOk Dec 16, 2023
9721a0c
Migrate PlushieLizardMirrored
DebugOk Dec 16, 2023
72d128c
Make ERT PDAs and give them to the right presets. (#22392)
IProduceWidgets Dec 12, 2023
dfc7e39
Restricted range cleanup (#22402)
metalgearsloth Dec 12, 2023
206d51f
Adds nitrile gloves to syndie medical bundle (#22147)
JoeHammad1844 Dec 12, 2023
bfbb970
Turn off speedup and heat scaling to isolate bug (#22405)
Partmedia Dec 12, 2023
a719bc8
Fix glorfcode again (#22420)
nok-ko Dec 12, 2023
1ab089b
Tracking & Implanter Crate (#22414)
luckyshotpictures Dec 12, 2023
9af07eb
Add fill layers to Hot Cocoa drink (#22419)
themias Dec 13, 2023
2815650
Fix construction graph ghost examine message (#22424)
themias Dec 13, 2023
1818b19
Blood-red medic armor ID change (#22422)
Errant-4 Dec 13, 2023
2e1313d
Add proper suffix (#22417)
IamVelcroboy Dec 13, 2023
ba882de
Hide verb expansion indicators on debug (#22415)
metalgearsloth Dec 13, 2023
3f532b8
improve deconstruction text (#22404)
tgrkzus Dec 13, 2023
c6d1b06
Add generic settings tab and move a bunch of settings over (And add t…
VasilisThePikachu Dec 13, 2023
45591a3
More UI fixes (#22431)
PJB3005 Dec 13, 2023
b04882d
Move MaskComponent to shared and add toggle events (#22395)
DrSmugleaf Dec 13, 2023
183f5b0
smartfridge semi functional (#22443)
Emisse Dec 13, 2023
d47512a
add (#22441)
UbaserB Dec 13, 2023
3b69680
Jetpack buff (#22444)
UbaserB Dec 13, 2023
41dc129
Add ahelp bwoink sound cvar (#22439)
DrSmugleaf Dec 13, 2023
681d4d2
New pinpointer sprites (#22435)
UbaserB Dec 13, 2023
7e01537
Fix frezon intoxication (#22453)
qwerltaz Dec 13, 2023
b3beda0
Last Words can no longer be prefixed with a radio channel identifier …
Errant-4 Dec 13, 2023
57ca36f
Let bee corpses be put into garbage bags, wielded, etc (#22451)
dakamakat Dec 13, 2023
746daef
let cyberpen edit stamped papers (#22457)
deltanedas Dec 13, 2023
1ba27be
"Uneven" hair (#22454)
UbaserB Dec 13, 2023
41ddef3
Moves ID field to ListingData and adds BuyBeforeCondition (#22438)
keronshb Dec 13, 2023
c7e75f4
show multiple recipes in the guidebook (#22463)
EmoGarbage404 Dec 13, 2023
a85bad5
Fix heat capacity scaling (#22464)
Partmedia Dec 14, 2023
78b3862
Better plasma and tritium fires (#22468)
Partmedia Dec 14, 2023
2ace099
Cluster grenades for uplink and security (#22029)
Arendian Dec 14, 2023
58bc343
Gas Condensers (#22436)
EmoGarbage404 Dec 14, 2023
3248881
Add extended/double emergency nitrogen tanks (#22354)
DangerRevolution Dec 14, 2023
68f8cb8
Add mining drill inhand sprites (#22494)
themias Dec 14, 2023
e9e6153
Fix toggle mask issues (#22496)
themias Dec 14, 2023
c320b23
Fix spray nozzle (#22492)
themias Dec 14, 2023
99a78ac
Add Taco Recipe to Guidebook (#22491)
Minty642 Dec 14, 2023
a04cb3b
Accessibility reprite for the Juggernaut suit, sec suit, and warden s…
Boaz1111 Dec 14, 2023
7d8366a
add (#22450)
UbaserB Dec 14, 2023
7495911
Increase gas leak event weight (#22508)
Partmedia Dec 14, 2023
40ec559
open bag in combat mode (#22512)
deltanedas Dec 14, 2023
8241f94
add glaive to salv weapons (#22514)
deltanedas Dec 15, 2023
87e0952
Fix masks not toggling voice mask component (#22506)
DrSmugleaf Dec 15, 2023
489563f
Acidifier Effect Sprite (#22425)
brainfood1183 Dec 15, 2023
37e097f
Relay custom votes to a webhook (#18561)
LankLTE Dec 15, 2023
6676238
Toned down wall color (#22522)
chromiumboy Dec 15, 2023
9ceb47a
add (#22525)
UbaserB Dec 15, 2023
f686197
troll (#22473)
asperger-sind Dec 15, 2023
6a155a5
Action Upgrade System (#22277)
keronshb Dec 15, 2023
24902b7
Electrolysis and Centrifuge (#22517)
EmoGarbage404 Dec 15, 2023
2851e53
Add more DNA interactions (#21989)
themias Dec 15, 2023
c8c4e9b
add content (#22518)
TheShuEd Dec 15, 2023
f2258e2
tanks only produce noise with sufficient valve pressure (#22401)
tgrkzus Dec 15, 2023
a908b24
Make flare gun explode, damage and stun the player when used with the…
MendaxxDev Dec 15, 2023
9d9309a
blood-red phone (#22538)
deltanedas Dec 15, 2023
5f40220
add 2 new artifact effects (#22551)
TheShuEd Dec 15, 2023
276af8d
Explosion SFX juicing + higher persistence (#22544)
mirrorcult Dec 15, 2023
fcf99fd
.NET 8 compatibility (#22461)
PJB3005 Dec 15, 2023
81e4ef8
Update submodule again oops the last one doesn't work (#22558)
PJB3005 Dec 15, 2023
a05ed1c
Makes MORE raw materials grindable (#22550)
Flareguy Dec 15, 2023
48e75d0
Artistic toolbox fill (#22552)
UbaserB Dec 15, 2023
1516074
posibrain as default (#22545)
Ilya246 Dec 15, 2023
f800c2a
cleanup PDA yaml (#22470)
lzk228 Dec 15, 2023
b065a0a
Atmos scaling cvar changes (#22501)
ElectroJr Dec 15, 2023
d0ea0a8
Improve atmos debug overlay (#22520)
ElectroJr Dec 15, 2023
8b97828
let borgs wear hat (#22555)
deltanedas Dec 15, 2023
4fcb136
Remove chasm from lava planetgen (#22560)
mirrorcult Dec 15, 2023
9f0d39b
add mixing categories to chem guidebook (#22566)
EmoGarbage404 Dec 15, 2023
713627f
smoke grenades (#20996)
deltanedas Dec 16, 2023
27a1d6a
Fix RestrictedRange boundary (#22570)
metalgearsloth Dec 16, 2023
1a0c05c
Crayon boxes get white crayons (#22553)
UbaserB Dec 16, 2023
45969c8
Chefs start with pepper packets in their locker (#22572)
UbaserB Dec 16, 2023
628f3cd
Ports the /tg/ shotgun sprites (#22539)
Flareguy Dec 16, 2023
e0d82d8
Update engine to v192.0.0 (#22578)
ElectroJr Dec 16, 2023
ce5df03
Add component query benchmarks (#21913)
DrSmugleaf Dec 16, 2023
a3e2f36
Re-enable round-end PVS overrides (#22440)
ElectroJr Dec 16, 2023
a338c17
Rename corgi burger to corger (#22585)
lzk228 Dec 16, 2023
557fc67
Faux astro-tiles for science & mappers (#22586)
mirrorcult Dec 16, 2023
35cfc4f
Luxury pens (#22542)
UbaserB Dec 16, 2023
e1a8a1b
9 new cargo bounties (#22579)
TheShuEd Dec 16, 2023
c4deb71
flare guy (#22584)
mirrorcult Dec 16, 2023
f5c0505
Add electrolysis/centrifuge breakdown recipes (#22571)
EmoGarbage404 Dec 16, 2023
15b3473
*chitters. (#22563)
BasedUser Dec 16, 2023
bb57cfb
Change gas canisters to use ItemSlots (#22561)
mirrorcult Dec 16, 2023
3c9ae26
Bread dog (#22548)
TheShuEd Dec 16, 2023
1211cfb
for realsies fix moth accent (#22588)
BasedUser Dec 16, 2023
2301e05
Added urn (#22488)
NkoKirkto Dec 16, 2023
275a0cc
add (#22591)
UbaserB Dec 16, 2023
1f4162e
Add vials (#22587)
UbaserB Dec 16, 2023
deea022
Change opossum sprites | Add new pet poppy the safety opossum (#21672)
VasilisThePikachu Dec 16, 2023
6cb8704
Added pop up message for single-use UI (#22573)
chromiumboy Dec 16, 2023
b87fcdb
Remove uses of `TransformComponent.ChildEntities` (#22442)
ElectroJr Dec 16, 2023
a9fc12f
Add new HasAnyTag and HasAllTags overrides (#22577)
ElectroJr Dec 16, 2023
bbba2a6
Update engine to v193.0.0 (#22606)
ElectroJr Dec 16, 2023
942db83
fix explosion resistance applying from bag (#22609)
deltanedas Dec 16, 2023
93b8274
Update MiscTab.xaml.cs
DebugOk Dec 16, 2023
044b76d
Fuck gridinv
DebugOk Dec 16, 2023
0688cec
Update TODO.md
DebugOk Dec 16, 2023
dbf9ca6
Update crayons.yml
DebugOk Dec 16, 2023
af2e047
Revert "give command staff brig access (#22230)"
DebugOk Dec 16, 2023
c3f401b
Update urn.yml
DebugOk Dec 16, 2023
d825127
Update medical.yml
DebugOk Dec 16, 2023
3d7afb2
Vials!11!!!
DebugOk Dec 16, 2023
ba63028
Merge pull request #565 from DebugOk/wizmerge-16/12
DebugOk Dec 16, 2023
00beb81
Merge branch 'master' of https://github.com/DeltaV-Station/Delta-v in…
DEATHB4DEFEAT Dec 17, 2023
bf75553
fix test
DEATHB4DEFEAT Dec 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Log server ID in connection logs table (#21911)
  • Loading branch information
PJB3005 authored and DebugOk committed Dec 16, 2023
commit f648007c8c5f953fea73c29a883a118a2e85e03a

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Content.Server.Database.Migrations.Postgres
{
/// <inheritdoc />
public partial class ConnectionLogServer : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "server_id",
table: "connection_log",
type: "integer",
nullable: false,
defaultValue: 0);

// Note: EF Core automatically makes indexes for all FKs.
// That's really dumb, and there's no simple way to disable this.
// So we drop the index creation command from the migration here,
// as we don't want this index:

// migrationBuilder.CreateIndex(
// name: "IX_connection_log_server_id",
// table: "connection_log",
// column: "server_id");

migrationBuilder.AddForeignKey(
name: "FK_connection_log_server_server_id",
table: "connection_log",
column: "server_id",
principalTable: "server",
principalColumn: "server_id",
onDelete: ReferentialAction.SetNull);
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_connection_log_server_server_id",
table: "connection_log");

// migrationBuilder.DropIndex(
// name: "IX_connection_log_server_id",
// table: "connection_log");

migrationBuilder.DropColumn(
name: "server_id",
table: "connection_log");
}
}
}
Original file line number Diff line number Diff line change
@@ -528,6 +528,12 @@ protected override void BuildModel(ModelBuilder modelBuilder)
.HasColumnType("bytea")
.HasColumnName("hwid");

b.Property<int>("ServerId")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasDefaultValue(0)
.HasColumnName("server_id");

b.Property<DateTime>("Time")
.HasColumnType("timestamp with time zone")
.HasColumnName("time");
@@ -544,6 +550,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.HasKey("Id")
.HasName("PK_connection_log");

b.HasIndex("ServerId")
.HasDatabaseName("IX_connection_log_server_id");

b.HasIndex("UserId");

b.ToTable("connection_log", null, t =>
@@ -1466,6 +1475,18 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Navigation("Profile");
});

modelBuilder.Entity("Content.Server.Database.ConnectionLog", b =>
{
b.HasOne("Content.Server.Database.Server", "Server")
.WithMany("ConnectionLogs")
.HasForeignKey("ServerId")
.OnDelete(DeleteBehavior.SetNull)
.IsRequired()
.HasConstraintName("FK_connection_log_server_server_id");

b.Navigation("Server");
});

modelBuilder.Entity("Content.Server.Database.Job", b =>
{
b.HasOne("Content.Server.Database.Profile", "Profile")
@@ -1712,6 +1733,8 @@ protected override void BuildModel(ModelBuilder modelBuilder)

modelBuilder.Entity("Content.Server.Database.Server", b =>
{
b.Navigation("ConnectionLogs");

b.Navigation("Rounds");
});

Loading