tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Database
Migrations
20240701234452_MYSwitchTo64BitDeploymentIds.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
MYSwitchTo64BitDeploymentIds
:
Migration
9
{
11
protected
override
void
Up
(MigrationBuilder migrationBuilder)
12
{
13
ArgumentNullException.ThrowIfNull(migrationBuilder);
14
15
migrationBuilder.AlterColumn<
long
>(
16
name:
"GitHubDeploymentId"
,
17
table:
"CompileJobs"
,
18
type:
"bigint"
,
19
nullable:
true
,
20
oldClrType: typeof(
int
),
21
oldType:
"int"
,
22
oldNullable:
true
);
23
}
24
26
protected
override
void
Down
(MigrationBuilder migrationBuilder)
27
{
28
ArgumentNullException.ThrowIfNull(migrationBuilder);
29
30
migrationBuilder.AlterColumn<
int
>(
31
name:
"GitHubDeploymentId"
,
32
table:
"CompileJobs"
,
33
type:
"int"
,
34
nullable:
true
,
35
oldClrType: typeof(
long
),
36
oldType:
"bigint"
,
37
oldNullable:
true
);
38
}
39
}
40
}
Migration
Tgstation.Server.Host.Database.Migrations.MYSwitchTo64BitDeploymentIds
Definition
20240701234452_MYSwitchTo64BitDeploymentIds.cs:9
Tgstation.Server.Host.Database.Migrations.MYSwitchTo64BitDeploymentIds.Down
override void Down(MigrationBuilder migrationBuilder)
Definition
20240701234452_MYSwitchTo64BitDeploymentIds.cs:26
Tgstation.Server.Host.Database.Migrations.MYSwitchTo64BitDeploymentIds.Up
override void Up(MigrationBuilder migrationBuilder)
Definition
20240701234452_MYSwitchTo64BitDeploymentIds.cs:11
Tgstation.Server.Host.Database.Migrations
Definition
20180906135553_MSInitialCreate.cs:7
Generated by
1.9.8