tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
20210825163520_PGAddDreamDaemonVisibility.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<int>(
18 name: "LaunchVisibility",
19 table: "ReattachInformations",
20 nullable: false,
21 defaultValue: 0);
22
23 migrationBuilder.AddColumn<int>(
24 name: "Visibility",
25 table: "DreamDaemonSettings",
26 nullable: false,
27 defaultValue: 0);
28 }
29
31 protected override void Down(MigrationBuilder migrationBuilder)
32 {
33 ArgumentNullException.ThrowIfNull(migrationBuilder);
34
35 migrationBuilder.DropColumn(
36 name: "LaunchVisibility",
37 table: "ReattachInformations");
38
39 migrationBuilder.DropColumn(
40 name: "Visibility",
41 table: "DreamDaemonSettings");
42 }
43 }
44}