tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Database
Migrations
20220811162903_MSAddDumpOnHeartbeatRestart.cs
Go to the documentation of this file.
1
using
System;
2
3
using
Microsoft.EntityFrameworkCore.Migrations;
4
5
namespace
Tgstation.Server.Host.Database.Migrations
6
{
10
public
partial class
MSAddDumpOnHeartbeatRestart
:
Migration
11
{
13
protected
override
void
Up
(MigrationBuilder migrationBuilder)
14
{
15
ArgumentNullException.ThrowIfNull(migrationBuilder);
16
17
migrationBuilder.AddColumn<
bool
>(
18
name:
"DumpOnHeartbeatRestart"
,
19
table:
"DreamDaemonSettings"
,
20
nullable:
false
,
21
defaultValue:
false
);
22
}
23
25
protected
override
void
Down
(MigrationBuilder migrationBuilder)
26
{
27
ArgumentNullException.ThrowIfNull(migrationBuilder);
28
29
migrationBuilder.DropColumn(
30
name:
"DumpOnHeartbeatRestart"
,
31
table:
"DreamDaemonSettings"
);
32
}
33
}
34
}
Migration
Tgstation.Server.Host.Database.Migrations.MSAddDumpOnHeartbeatRestart
Adds the DreamMakerSettings DumpOnHeartbeatRestart column for MSSQL.
Definition
20220811162903_MSAddDumpOnHeartbeatRestart.cs:11
Tgstation.Server.Host.Database.Migrations.MSAddDumpOnHeartbeatRestart.Down
override void Down(MigrationBuilder migrationBuilder)
Definition
20220811162903_MSAddDumpOnHeartbeatRestart.cs:25
Tgstation.Server.Host.Database.Migrations.MSAddDumpOnHeartbeatRestart.Up
override void Up(MigrationBuilder migrationBuilder)
Definition
20220811162903_MSAddDumpOnHeartbeatRestart.cs:13
Tgstation.Server.Host.Database.Migrations
Definition
20180906135553_MSInitialCreate.cs:7
Generated by
1.9.8