tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
20231220032508_MSAddTopicPort.cs
Go to the documentation of this file.
1using System;
2
3using Microsoft.EntityFrameworkCore.Migrations;
4
6{
8 public partial class MSAddTopicPort : Migration
9 {
11 protected override void Up(MigrationBuilder migrationBuilder)
12 {
13 ArgumentNullException.ThrowIfNull(migrationBuilder);
14
15 migrationBuilder.AddColumn<int>(
16 name: "TopicPort",
17 table: "ReattachInformations",
18 type: "int",
19 nullable: true);
20 }
21
23 protected override void Down(MigrationBuilder migrationBuilder)
24 {
25 ArgumentNullException.ThrowIfNull(migrationBuilder);
26
27 migrationBuilder.DropColumn(
28 name: "TopicPort",
29 table: "ReattachInformations");
30 }
31 }
32}
override void Down(MigrationBuilder migrationBuilder)