From c6a83029973b716abf62d6c696329686c64ca0ff Mon Sep 17 00:00:00 2001 From: cesnimda Date: Sat, 4 Jul 2026 16:27:02 +0200 Subject: [PATCH] chore: strip UTF-8 BOM from EF-generated migration files The .editorconfig charset=utf-8 rule (added with the CI format gate) flags the BOM that 'dotnet ef migrations' writes into generated files, failing the format check on develop itself and thus on every PR. De-BOM all tracked source files so the gate passes. Co-Authored-By: Claude Opus 4.8 --- .../Migrations/20260630140733_InitialCreate.Designer.cs | 2 +- .../Migrations/20260630200946_AddUserDigestFields.Designer.cs | 2 +- .../20260630201607_AddUnsubscribeConfidence.Designer.cs | 2 +- .../20260701192100_WeightSearchVectorSubjectBody.Designer.cs | 2 +- .../Migrations/20260701203001_EnablePgTrgm.Designer.cs | 2 +- .../20260701235112_TrigramIndexesSenderDomain.Designer.cs | 2 +- .../Migrations/20260702002304_AddEmbeddingColumn.Designer.cs | 2 +- .../20260702152850_FeatureFlagsAndUserSettings.Designer.cs | 2 +- .../Migrations/20260702152850_FeatureFlagsAndUserSettings.cs | 2 +- .../Migrations/AppDbContextModelSnapshot.cs | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/InboxIntel.Infrastructure/Migrations/20260630140733_InitialCreate.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260630140733_InitialCreate.Designer.cs index fa742ee..f156b82 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260630140733_InitialCreate.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260630140733_InitialCreate.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260630200946_AddUserDigestFields.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260630200946_AddUserDigestFields.Designer.cs index 1a812aa..364d091 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260630200946_AddUserDigestFields.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260630200946_AddUserDigestFields.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260630201607_AddUnsubscribeConfidence.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260630201607_AddUnsubscribeConfidence.Designer.cs index 036a720..884d818 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260630201607_AddUnsubscribeConfidence.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260630201607_AddUnsubscribeConfidence.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260701192100_WeightSearchVectorSubjectBody.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260701192100_WeightSearchVectorSubjectBody.Designer.cs index 34a37a1..c385932 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260701192100_WeightSearchVectorSubjectBody.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260701192100_WeightSearchVectorSubjectBody.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260701203001_EnablePgTrgm.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260701203001_EnablePgTrgm.Designer.cs index 846cc5e..b1a611b 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260701203001_EnablePgTrgm.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260701203001_EnablePgTrgm.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260701235112_TrigramIndexesSenderDomain.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260701235112_TrigramIndexesSenderDomain.Designer.cs index 81e5395..57989e9 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260701235112_TrigramIndexesSenderDomain.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260701235112_TrigramIndexesSenderDomain.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260702002304_AddEmbeddingColumn.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260702002304_AddEmbeddingColumn.Designer.cs index 335c335..6ffacee 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260702002304_AddEmbeddingColumn.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260702002304_AddEmbeddingColumn.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.Designer.cs b/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.Designer.cs index a2d7e12..12ff438 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.Designer.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; diff --git a/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.cs b/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.cs index 013fee7..4c5f040 100644 --- a/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.cs +++ b/src/InboxIntel.Infrastructure/Migrations/20260702152850_FeatureFlagsAndUserSettings.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/InboxIntel.Infrastructure/Migrations/AppDbContextModelSnapshot.cs b/src/InboxIntel.Infrastructure/Migrations/AppDbContextModelSnapshot.cs index c0bb4e9..549e9dd 100644 --- a/src/InboxIntel.Infrastructure/Migrations/AppDbContextModelSnapshot.cs +++ b/src/InboxIntel.Infrastructure/Migrations/AppDbContextModelSnapshot.cs @@ -1,4 +1,4 @@ -// +// using System; using InboxIntel.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore;