26 lines
646 B
C#
26 lines
646 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Data.Migrations.MySql
|
|||
|
{
|
|||
|
public partial class AddGameToEFClient : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "GameName",
|
|||
|
table: "EFClients",
|
|||
|
type: "int",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "GameName",
|
|||
|
table: "EFClients");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|