IW4M-Admin/Data/Migrations/Sqlite/20190914012015_AddSessionSnapHitsToSnapshot.cs

24 lines
664 B
C#
Raw Permalink Normal View History

2019-09-27 16:53:52 -04:00
using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.Sqlite
2019-09-27 16:53:52 -04:00
{
public partial class AddSessionSnapHitsToSnapshot : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "SessionSnapHits",
table: "EFACSnapshot",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SessionSnapHits",
table: "EFACSnapshot");
}
}
}