2018-05-16 00:57:37 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
namespace Data.Migrations.MySql
|
2018-05-16 00:57:37 -04:00
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|