feat: implement data migration service to convert ANSI escape codes to printable color tags

This commit is contained in:
HueByte
2026-02-19 18:57:57 +01:00
parent 8dfb1a4fb8
commit d9a66749e7
3 changed files with 100 additions and 51 deletions
@@ -16,6 +16,9 @@ public static class DatabaseSetup
await MigrateAsync(db, logger);
await SeedDefaultChannelAsync(db, logger);
// Run data migrations (e.g. ANSI → color tag format)
await DataMigrationService.RunAsync(services);
}
private static async Task MigrateAsync(EchoHubDbContext db, ILogger logger)