-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So I can use the tags from the website without re-implementing it in JS.
- Loading branch information
Showing
8 changed files
with
530 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
308 changes: 308 additions & 0 deletions
308
SS14.ServerHub.Shared/Migrations/20240331202957_InferredTags.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
SS14.ServerHub.Shared/Migrations/20240331202957_InferredTags.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace SS14.ServerHub.Shared.Migrations | ||
{ | ||
public partial class InferredTags : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<string[]>( | ||
name: "InferredTags", | ||
table: "ServerStatusArchive", | ||
type: "text[]", | ||
nullable: false, | ||
defaultValue: new string[0]); | ||
|
||
migrationBuilder.AddColumn<string[]>( | ||
name: "InferredTags", | ||
table: "AdvertisedServer", | ||
type: "text[]", | ||
nullable: false, | ||
defaultValue: new string[0]); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "InferredTags", | ||
table: "ServerStatusArchive"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "InferredTags", | ||
table: "AdvertisedServer"); | ||
} | ||
} | ||
} |
Oops, something went wrong.