Watch: Clear out test data before I launch | Vovy
Watch Vovy do it on a Mac: "Delete all my test users and fake orders before launch, but keep the real ones". Find test users and fake records, back them up, delete them in the right order, and launch with a clean database.
"Delete all my test users and fake orders before launch, but keep the real ones"
Find test users and fake records, back them up, delete them in the right order, and launch with a clean database.
What happens in the video
- Find the test data: Vovy searches for obvious test rows: emails like test@ or @example.com, names like asdf, and records from before your beta.
- Show you the list: A table shows every row Vovy plans to delete, grouped by table, so you can uncheck anything that's real.
- Back up first: Vovy dumps the database to a file before deleting anything, so a mistake can be undone.
- Delete in the right order: Vovy asks, then deletes child rows like orders before parent rows like users, and removes test accounts from Authentication too.
- Confirm it's clean: A card shows row counts before and after, and confirms your real accounts are untouched.
Read the step-by-step guideLoading...