Added migration tool

This commit is contained in:
Marius
2026-03-12 09:47:49 +02:00
parent 27648ae57c
commit b262d10ea4
35 changed files with 2579 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
namespace HaDbMigration.Models;
public sealed record StateEntity
{
public long StateId { get; init; }
public string? EntityId { get; init; }
public string? State { get; init; }
public string? Attributes { get; init; }
public short? EventId { get; init; }
public DateTime? LastChanged { get; init; }
public double? LastChangedTs { get; init; }
public double? LastReportedTs { get; init; }
public DateTime? LastUpdated { get; init; }
public double? LastUpdatedTs { get; init; }
public long? OldStateId { get; init; }
public long? AttributesId { get; init; }
public string? ContextId { get; init; }
public string? ContextUserId { get; init; }
public string? ContextParentId { get; init; }
public short? OriginIdx { get; init; }
public byte[]? ContextIdBin { get; init; }
public byte[]? ContextUserIdBin { get; init; }
public byte[]? ContextParentIdBin { get; init; }
public long? MetadataId { get; init; }
}