framework icon indicating copy to clipboard operation
framework copied to clipboard

[12.x] Add database dump with data + load

Open barryvdh opened this issue 1 month ago • 4 comments

The code is mostly in place, but we only dump schema now. We could extend this to include data, so we can just do php artisan db:dump and dump the entire database. Optionally we could then create db:load <file> to quickly import an entire file.

Status: work in progress. I think most drivers are similar, just an optional flag to include data or not.

barryvdh avatar Nov 05 '25 15:11 barryvdh