core icon indicating copy to clipboard operation
core copied to clipboard

Command to copy production database into preview

Open TheAlexLichter opened this issue 1 year ago • 1 comments

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

TheAlexLichter avatar Jul 25 '24 10:07 TheAlexLichter

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.

atinux avatar Jul 30 '24 16:07 atinux