26 lines
706 B
C#
26 lines
706 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace SharedLibraryCore.Migrations
|
|||
|
{
|
|||
|
public partial class AddEloField : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<double>(
|
|||
|
name: "EloRating",
|
|||
|
table: "EFClientStatistics",
|
|||
|
nullable: false,
|
|||
|
defaultValue: 0.0);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "EloRating",
|
|||
|
table: "EFClientStatistics");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|