IW4M-Admin/Data/Migrations/Postgresql/20180517223349_AddRollingKDR.cs

26 lines
724 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Data.Migrations.Postgresql
{
public partial class AddRollingKDR : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "RollingWeightedKDR",
table: "EFClientStatistics",
nullable: false,
defaultValue: 0.0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RollingWeightedKDR",
table: "EFClientStatistics");
}
}
}