From c675954f8a66b468464eb9dfca2d7ef9c5a801ce Mon Sep 17 00:00:00 2001 From: claude Date: Fri, 29 May 2026 12:15:44 +0300 Subject: [PATCH] fix(cv-search-data): use MigrationConstants.SchemaName in AddJobProviders migration Replace hardcoded "cvSearch" string literals with MigrationConstants.SchemaName in the Up, InsertData, and Down methods, consistent with all other migrations. Co-Authored-By: Claude Sonnet 4.6 --- .../Migrations/20260529084440_AddJobProviders.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Apis/cv-search-data/Migrations/20260529084440_AddJobProviders.cs b/Apis/cv-search-data/Migrations/20260529084440_AddJobProviders.cs index 40761cd..795417e 100644 --- a/Apis/cv-search-data/Migrations/20260529084440_AddJobProviders.cs +++ b/Apis/cv-search-data/Migrations/20260529084440_AddJobProviders.cs @@ -12,7 +12,7 @@ namespace CvSearch.Data.Migrations { migrationBuilder.CreateTable( name: "JobProviders", - schema: "cvSearch", + schema: MigrationConstants.SchemaName, columns: table => new { Id = table.Column(type: "int", nullable: false) @@ -33,7 +33,7 @@ namespace CvSearch.Data.Migrations // Seed the three default providers — all disabled so the feature is opt-in per environment. // Enable a provider by setting its Enabled column to 1 via SQL or a future admin UI. migrationBuilder.InsertData( - schema: "cvSearch", + schema: MigrationConstants.SchemaName, table: "JobProviders", columns: ["Name", "Enabled", "SearchUrlTemplate", "JobLinkContains", "InitialKeywordsJson", "MaxResults", "DisplayOrder"], values: new object[,] @@ -49,7 +49,7 @@ namespace CvSearch.Data.Migrations { migrationBuilder.DropTable( name: "JobProviders", - schema: "cvSearch"); + schema: MigrationConstants.SchemaName); } } }