docs: warn that re-seeding reverts admin-panel edits

This commit is contained in:
belviskhoremk
2026-08-12 20:27:15 +02:00
parent 2dfc4af249
commit c8d24a2a3a
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ import { createClient } from '@supabase/supabase-js'
// `src/data/products.ts` and `src/data/services.ts` now fetch live rows from Supabase
// (see Tasks 2-3 of this plan) instead of exporting static arrays, so this seed script
// owns its own copy of the seed data below rather than importing it from application code.
// WARNING: re-running this after admin-panel edits will revert those rows to these seed
// defaults (unconditional upsert keyed on id). Intended for initial setup / disaster
// recovery only, not routine use.
interface SeedProduct {
id: string
name: string