From 321cb76a7b9df121430e64945ccbd2f498fa229e Mon Sep 17 00:00:00 2001 From: nurdotnet <278048682+nurdotnet@users.noreply.github.com> Date: Tue, 21 Apr 2026 23:56:27 +0500 Subject: [PATCH] chore: remove demo catalog (35 products) and disable DemoCatalogSeeder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User is importing the real catalog from MoySklad — the placeholder KZ-market demo products I seeded would just pollute the results. Nuked via: TRUNCATE product_prices, product_barcodes, products, product_groups, counterparties CASCADE; DemoCatalogSeeder stays in the source tree, commented out in Program.cs — anyone running without MoySklad access can re-enable it by uncommenting one line. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/food-market.api/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/food-market.api/Program.cs b/src/food-market.api/Program.cs index 380b042..940d69b 100644 --- a/src/food-market.api/Program.cs +++ b/src/food-market.api/Program.cs @@ -134,7 +134,10 @@ builder.Services.AddHostedService(); builder.Services.AddHostedService(); builder.Services.AddHostedService(); - builder.Services.AddHostedService(); + // DemoCatalogSeeder disabled: real catalog is imported from MoySklad. + // Keep the file as reference for anyone starting without MoySklad access — + // just re-register here to turn demo data back on. + // builder.Services.AddHostedService(); var app = builder.Build();