mirror of
https://github.com/TomasiDeveloping/PlayerManagement.git
synced 2026-04-16 09:12:20 +00:00
36 lines
953 B
C#
36 lines
953 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
|
|
|
namespace Database.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddTeamToDesertStorm : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Team",
|
|
schema: "dbo",
|
|
table: "DesertStorms",
|
|
type: "nvarchar(1)",
|
|
maxLength: 1,
|
|
nullable: false,
|
|
defaultValue: "A");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Team",
|
|
schema: "dbo",
|
|
table: "DesertStorms");
|
|
}
|
|
}
|
|
}
|