IW4M-Admin/Data/Migrations/MySql/20180516023249_AddEloField.cs

26 lines
699 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Data.Migrations.MySql
{
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");
}
}
}