IW4M-Admin/SharedLibraryCore/Migrations/MySql/20190615214055_AddRecoilOffsetToSnapshot.cs

24 lines
672 B
C#
Raw Normal View History

2019-06-15 18:37:43 -04:00
using Microsoft.EntityFrameworkCore.Migrations;
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");
}
}
}