docs: warn that re-seeding reverts admin-panel edits
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user