tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Database
Migrations
20230331221032_PGAddDreamDaemonLogOutput.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
PGAddDreamDaemonLogOutput
:
Migration
11
{
13
protected
override
void
Up
(MigrationBuilder migrationBuilder)
14
{
15
ArgumentNullException.ThrowIfNull(migrationBuilder);
16
17
migrationBuilder.AddColumn<
bool
>(
18
name:
"LogOutput"
,
19
table:
"DreamDaemonSettings"
,
20
type:
"boolean"
,
21
nullable:
false
,
22
defaultValue:
false
);
23
}
24
26
protected
override
void
Down
(MigrationBuilder migrationBuilder)
27
{
28
ArgumentNullException.ThrowIfNull(migrationBuilder);
29
30
migrationBuilder.DropColumn(
31
name:
"LogOutput"
,
32
table:
"DreamDaemonSettings"
);
33
}
34
}
35
}
Migration
Tgstation.Server.Host.Database.Migrations.PGAddDreamDaemonLogOutput
Adds the DreamDaemon LogOutput column for PostgresSQL.
Definition
20230331221032_PGAddDreamDaemonLogOutput.cs:11
Tgstation.Server.Host.Database.Migrations.PGAddDreamDaemonLogOutput.Down
override void Down(MigrationBuilder migrationBuilder)
Definition
20230331221032_PGAddDreamDaemonLogOutput.cs:26
Tgstation.Server.Host.Database.Migrations.PGAddDreamDaemonLogOutput.Up
override void Up(MigrationBuilder migrationBuilder)
Definition
20230331221032_PGAddDreamDaemonLogOutput.cs:13
Tgstation.Server.Host.Database.Migrations
Definition
20180906135553_MSInitialCreate.cs:7
Generated by
1.9.8