2019-09-09 18:40:04 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.Postgresql
|
2019-09-09 18:40:04 -04:00
|
|
|
|
{
|
|
|
|
|
public partial class AvgSnapValueToClientStatistics : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AddColumn<double>(
|
|
|
|
|
name: "AverageSnapValue",
|
|
|
|
|
table: "EFClientStatistics",
|
|
|
|
|
nullable: false,
|
|
|
|
|
defaultValue: 0.0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
name: "AverageSnapValue",
|
|
|
|
|
table: "EFClientStatistics");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|