Sync products with old e5 CRM

This commit is contained in:
Michał Zieliński
2025-06-23 21:52:09 +02:00
parent 8cb3b50fe7
commit 63b7ed51d1
17 changed files with 339 additions and 80 deletions

View File

@@ -0,0 +1,33 @@
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");
}
}
}