2019-06-15 18:37:43 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.MySql
|
2019-06-15 18:37:43 -04:00
|
|
|
|
{
|
|
|
|
|
public partial class AddRecoilOffsetToSnapshot : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AddColumn<double>(
|
|
|
|
|
name: "RecoilOffset",
|
|
|
|
|
table: "EFACSnapshot",
|
|
|
|
|
nullable: false,
|
|
|
|
|
defaultValue: 0.0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
name: "RecoilOffset",
|
|
|
|
|
table: "EFACSnapshot");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|