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

24 lines
677 B
C#
Raw Normal View History

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