tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
20230622020600_MSAddMapThreads.cs
Go to the documentation of this file.
1using System;
2
3using Microsoft.EntityFrameworkCore.Migrations;
4
6{
10 public partial class MSAddMapThreads : Migration
11 {
13 protected override void Up(MigrationBuilder migrationBuilder)
14 {
15 ArgumentNullException.ThrowIfNull(migrationBuilder);
16
17 migrationBuilder.AddColumn<long>(
18 name: "MapThreads",
19 table: "DreamDaemonSettings",
20 type: "bigint",
21 nullable: false,
22 defaultValue: 0L);
23 }
24
26 protected override void Down(MigrationBuilder migrationBuilder)
27 {
28 ArgumentNullException.ThrowIfNull(migrationBuilder);
29
30 migrationBuilder.DropColumn(
31 name: "MapThreads",
32 table: "DreamDaemonSettings");
33 }
34 }
35}
Adds the MapThreads DreamDaemonSettings column for MSSQL.