Files
BimAI/Bimix.Infrastructure/Migrations/20250623184943_AddSyncState.cs
2025-06-23 21:52:09 +02:00

34 lines
991 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bimix.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddSyncState : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "SyncStates",
columns: table => new
{
Entity = table.Column<string>(type: "nvarchar(450)", nullable: false),
LastSynced = table.Column<long>(type: "bigint", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_SyncStates", x => x.Entity);
});
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "SyncStates");
}
}
}