* 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
19 lines
558 B
C#
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);
|
|
}
|
|
}
|