IW4M-Admin/Data/Migrations/Postgresql/20190901180209_AddSnapHitCountToClientStatistics.cs

24 lines
679 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.Postgresql
{
public partial class AddSnapHitCountToClientStatistics : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "SnapHitCount",
table: "EFClientStatistics",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SnapHitCount",
table: "EFClientStatistics");
}
}
}