docs(audit): ScadaBridge C7 review — correct 'six persisted' computed-col wording (5 persisted + IngestedAtUtc non-persisted) + stale perf iteration comment
This commit is contained in:
+2
-2
@@ -46,8 +46,8 @@ namespace ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.Migrations
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
// 1) Create dbo.AuditLog_v2 on the PRESERVED partition scheme. Ten
|
||||
// canonical columns first (ordinal-stable), then the six persisted
|
||||
// computed columns. The clustered PK is composite {EventId,
|
||||
// canonical columns first (ordinal-stable), then the six computed
|
||||
// columns (five PERSISTED + IngestedAtUtc non-persisted). The clustered PK is composite {EventId,
|
||||
// OccurredAtUtc} (partition-aligned). The computed-column expressions
|
||||
// here are the single source of truth that AuditLogEntityTypeConfiguration
|
||||
// and SwitchOutPartitionAsync's staging table must mirror exactly.
|
||||
|
||||
Reference in New Issue
Block a user