24 lines
666 B
C#
24 lines
666 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
namespace SharedLibraryCore.Migrations
|
|||
|
{
|
|||
|
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|