mirror of
https://github.com/jcreek/advent-of-code.git
synced 2026-07-14 19:53:46 +00:00
feat(*): Update 2021-06 files (part 1 working, part 2 not I think, but unable to test on laptop due to CPU limitations)
This resolves the out of memory issue, but still takes too long to run. It's either CPU or IO bound.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace _06.Migrations
|
||||
{
|
||||
public partial class InitialCreate : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Fishes",
|
||||
columns: table => new
|
||||
{
|
||||
FishId = table.Column<int>(type: "INTEGER", nullable: false)
|
||||
.Annotation("Sqlite:Autoincrement", true),
|
||||
InternalTimer = table.Column<int>(type: "INTEGER", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Fishes", x => x.FishId);
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "Fishes");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user