=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -11,6 +11,7 @@ namespace adas_core.Infrastructure.Migrations.MongoMigrations;
|
||||
/// <remarks>
|
||||
/// Inherits from the <see cref="Migration"/> base class, indicating it is intended to be applied as part of an Entity Framework (or similar) migration pipeline to evolve the underlying data store.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=8030161 -->
|
||||
public class U_0_1_0_UpdateDataPatien : Migration
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
+6
@@ -10,8 +10,13 @@ namespace adas_core.Infrastructure.Migrations.MongoMigrations;
|
||||
/// <remarks>
|
||||
/// Inherits from <see cref="Migration"/> to support schema or data changes associated with the 0.1.1 release.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=a62c43b -->
|
||||
public class U_0_1_1_UpdateDisplayConfigDriver : Migration
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="U_0_1_1_UpdateDisplayConfigDriver"/> class by passing identifier 11 to the base constructor and assigning the Description property with a message indicating that the driver generates the Type field in all documents of the DisplayConfig collection to compensate for the new driver not exposing <c>_t</c> for polymorphism.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=230f909 body=56a8ba9 -->
|
||||
public U_0_1_1_UpdateDisplayConfigDriver() : base(11)
|
||||
{
|
||||
Description =
|
||||
@@ -24,6 +29,7 @@ public class U_0_1_1_UpdateDisplayConfigDriver : Migration
|
||||
/// (defaulting to <c>Unknown</c> for any other value), removing the original <c>_t</c> field, and merging the
|
||||
/// results back into the same collection while discarding documents that do not already have a match.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=2ec5b05 body=0e7c665 -->
|
||||
public override void Update()
|
||||
{
|
||||
var collection = Database.GetCollection<BsonDocument>("config_displays");
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace adas_core.Infrastructure.Migrations.MongoMigrations;
|
||||
/// <remarks>
|
||||
/// The migration identifier prefix (U_0_1_2) indicates a specific ordering or version step within the migration sequence.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=4cbfeb5 -->
|
||||
public class U_0_1_2_UpdatePointOfCareConfig : Migration
|
||||
{
|
||||
/// <summary>
|
||||
@@ -25,6 +26,8 @@ public class U_0_1_2_UpdatePointOfCareConfig : Migration
|
||||
/// <summary>
|
||||
/// Updates all point-of-care documents in the database by migrating their embedded configuration arrays (beacons, cameras, and relayList) to empty identifier list structures (beaconIdList, cameraIdList, and relayIdList), preserving the existing arrays' data not retained in this operation.
|
||||
/// </summary>
|
||||
/// <!-- aidoc-review:v1 severity=high kind=wrong_summary
|
||||
/// "The summary claims data is 'preserved' through migration, but the code removes the existing 'beacons', 'cameras', and 'relayList' arrays entirely and replaces them with newly created empty BsonArrays—no data from the original arrays is retained or migrated." -->
|
||||
public override void Update()
|
||||
{
|
||||
var collection = Database.GetCollection<BsonDocument>("pointOfCares");
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace adas_core.Infrastructure.Migrations.MongoMigrations;
|
||||
/// <summary>
|
||||
/// Represents a database migration that updates the LanguageBarrier component to version 0.1.3.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=8c1ced1 -->
|
||||
public class U_0_1_3_UpdateLanguageBarrier : Migration
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user