2019-09-27 16:53:52 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
namespace Data.Migrations.MySql
|
2019-09-27 16:53:52 -04:00
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|