2018-09-07 23:29:42 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.MySql
|
2018-09-07 23:29:42 -04:00
|
|
|
|
{
|
|
|
|
|
public partial class AddVision : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AddColumn<double>(
|
|
|
|
|
name: "VisionAverage",
|
|
|
|
|
table: "EFClientStatistics",
|
|
|
|
|
nullable: false,
|
|
|
|
|
defaultValue: 0.0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
name: "VisionAverage",
|
|
|
|
|
table: "EFClientStatistics");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|