core
core copied to clipboard
Command to copy production database into preview
Is your feature request related to a problem? Please describe.
As a developer, I'd like to copy the data from the production database in preview to try out migrations on the actual data and states.
Describe the solution you'd like
A command like nuxthub db:copy or similar.
Describe alternatives you've considered
Manual command or a recipe would be fine too
Thanks for creating this issue to track @manniL
It is a bit tricky to know what this command would do actually. I think a nitro task could help somehow for having some kind of dump/restore.
I plan to work on a nuxthub database command very soon, stay tuned.