elsa-core/test/unit/Elsa.Diagnostics.StructuredLogs.Persistence.Relational.UnitTests/StructuredLogMigrationTests.cs
Sipke Schoorstra 827ad6bc6b
[codex] Add structured log SQLite persistence (#7445)
* Add structured log persistence spec

* Clarify structured log persistence spec

* Plan structured log persistence implementation

* Regenerate structured log persistence tasks

* Address structured log persistence analysis findings

* Add structured log SQLite persistence

* Address structured log persistence review

* Harden structured log write buffer shutdown

* Start structured log SQLite migrations before buffer
2026-05-13 15:57:06 +02:00

19 lines
558 B
C#

using Elsa.Diagnostics.StructuredLogs.Persistence.Relational.Migrations;
using FluentMigrator;
namespace Elsa.Diagnostics.StructuredLogs.Persistence.Relational.UnitTests;
public class StructuredLogMigrationTests
{
[Fact]
public void CreateStructuredLogTablesMigration_HasStableVersion()
{
var attribute = typeof(M001CreateStructuredLogTables)
.GetCustomAttributes(typeof(MigrationAttribute), false)
.Cast<MigrationAttribute>()
.Single();
Assert.Equal(2026051301, attribute.Version);
}
}