tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
20201106082653_PGAddAdditionalDDParameters.cs
Go to the documentation of this file.
1using System;
2
3using Microsoft.EntityFrameworkCore.Migrations;
4
6{
11 {
13 protected override void Up(MigrationBuilder migrationBuilder)
14 {
15 ArgumentNullException.ThrowIfNull(migrationBuilder);
16
17 migrationBuilder.AddColumn<string>(
18 name: "AdditionalParameters",
19 table: "DreamDaemonSettings",
20 nullable: false,
21 maxLength: 10000,
22 defaultValue: String.Empty);
23 }
24
26 protected override void Down(MigrationBuilder migrationBuilder)
27 {
28 ArgumentNullException.ThrowIfNull(migrationBuilder);
29
30 migrationBuilder.DropColumn(
31 name: "AdditionalParameters",
32 table: "DreamDaemonSettings");
33 }
34 }
35}