Reset Dashboard Seed Data
Created 6 years ago by finnito


I'm making a dashboard widget and I accidentally deleted the extension files without removing the dashboard widget and now I get a fatal error whenever I try load the dashboard.

Is there an artisan command I could use to reset the dashboard?

Many thanks in advance!

fryiee  —  6 years ago Best Answer


  1. Delete from {app}_dashboard_widgets table by extension slug (note the ID)
  2. Delete from {app}_dashboard_widgets_translations table by ID from above
  3. Run composer dump-autoload
  4. Run streams:compile
finnito  —  6 years ago

Thank you @fryiee! It makes me a bit nervous to go deleting entries from the DB but it worked a charm. Back in action!