2019-09-27 16:53:52 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.Postgresql
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|