tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Database
Migrations
20200616180842_PGTopicTimeout.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
PGTopicTimeout
:
Migration
11
{
13
protected
override
void
Up
(MigrationBuilder migrationBuilder)
14
{
15
ArgumentNullException.ThrowIfNull(migrationBuilder);
16
migrationBuilder.AddColumn<
long
>(
17
name:
"TopicRequestTimeout"
,
18
table:
"DreamDaemonSettings"
,
19
nullable:
false
,
20
defaultValue: 0L);
21
}
22
24
protected
override
void
Down
(MigrationBuilder migrationBuilder)
25
{
26
ArgumentNullException.ThrowIfNull(migrationBuilder);
27
migrationBuilder.DropColumn(
28
name:
"TopicRequestTimeout"
,
29
table:
"DreamDaemonSettings"
);
30
}
31
}
32
}
Migration
Tgstation.Server.Host.Database.Migrations.PGTopicTimeout
Add BYOND topic timeouts for PostgresSQL.
Definition
20200616180842_PGTopicTimeout.cs:11
Tgstation.Server.Host.Database.Migrations.PGTopicTimeout.Down
override void Down(MigrationBuilder migrationBuilder)
Definition
20200616180842_PGTopicTimeout.cs:24
Tgstation.Server.Host.Database.Migrations.PGTopicTimeout.Up
override void Up(MigrationBuilder migrationBuilder)
Definition
20200616180842_PGTopicTimeout.cs:13
Tgstation.Server.Host.Database.Migrations
Definition
20180906135553_MSInitialCreate.cs:7
Generated by
1.9.8