--- import SiteFooter from "../../../components/royal-pop/SiteFooter.astro"; import BaseLayout from "../../../layouts/BaseLayout.astro"; import styles from "../client.module.scss"; const apiBaseUrl = process.env.API_BASE_URL || (import.meta.env.PROD ? "" : "http://localhost:8081"); const dangerListClass = styles.dangerList; const dangerPanelClass = styles.dangerPanel; const dangerActionClass = styles.dangerAction; const dangerNoteClass = styles.dangerNote; ---
Royal Pop
Client reseed

Local only

Client reseed

Back up the local database, then clear it back to empty.

This private tool creates a timestamped SQL backup first, then wipes orders, order items, and inventory rows while keeping the schema intact.

Backup first A SQL snapshot is written before anything is truncated so you have a recovery point.
App data only Orders, order items, and inventory rows are cleared. Tables, indexes, and routes remain in place.
No shortcuts Use this only when you truly want a clean local state for demos, testing, or re-seeding.

Sign in

Unlock the reseed tool.

Use the same private client credentials as the other dashboard pages.

Sign in to create a backup and reset the local database.