24 lines
692 B
C#
24 lines
692 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace SharedLibraryCore.Migrations
|
|
{
|
|
public partial class AddCurrentSnapValueToSnapshot : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<double>(
|
|
name: "SessionAverageSnapValue",
|
|
table: "EFACSnapshot",
|
|
nullable: false,
|
|
defaultValue: 0.0);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "SessionAverageSnapValue",
|
|
table: "EFACSnapshot");
|
|
}
|
|
}
|
|
}
|