tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Database
Migrations
20240719010209_PGAddOpenDreamTopicPort.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
{
8
public
partial class
PGAddOpenDreamTopicPort
:
Migration
9
{
11
protected
override
void
Up
(MigrationBuilder migrationBuilder)
12
{
13
ArgumentNullException.ThrowIfNull(migrationBuilder);
14
15
migrationBuilder.AddColumn<
int
>(
16
name:
"OpenDreamTopicPort"
,
17
table:
"DreamDaemonSettings"
,
18
type:
"integer"
,
19
nullable:
false
,
20
defaultValue: 0);
21
}
22
24
protected
override
void
Down
(MigrationBuilder migrationBuilder)
25
{
26
ArgumentNullException.ThrowIfNull(migrationBuilder);
27
28
migrationBuilder.DropColumn(
29
name:
"OpenDreamTopicPort"
,
30
table:
"DreamDaemonSettings"
);
31
}
32
}
33
}
Migration
Tgstation.Server.Host.Database.Migrations.PGAddOpenDreamTopicPort
Definition
20240719010209_PGAddOpenDreamTopicPort.cs:9
Tgstation.Server.Host.Database.Migrations.PGAddOpenDreamTopicPort.Up
override void Up(MigrationBuilder migrationBuilder)
Definition
20240719010209_PGAddOpenDreamTopicPort.cs:11
Tgstation.Server.Host.Database.Migrations.PGAddOpenDreamTopicPort.Down
override void Down(MigrationBuilder migrationBuilder)
Definition
20240719010209_PGAddOpenDreamTopicPort.cs:24
Tgstation.Server.Host.Database.Migrations
Definition
20180906135553_MSInitialCreate.cs:7
Generated by
1.9.8