Migrating data between gadget environments
Getting asked to migrate some data from staging environment to prod. Just wondering if anything exists for this already before I start in on it.
In my case I have one model that includes an association to a shopifyCustomer model - that's about all I need to migrate for now.
4 Replies
Me too. I'm about to deploy and have a number of models with data to migrate. Given I can download a CSV I wrote a route and global action to parse and upload the CSV's. Only way I could think to do it. I put the route in an admin area that users cannot access for the UI. Would be nice to have some Gadget functionality for this. I've asked before so just ended up doing it this way.
There is nothing built in to Gadget for doing this. stevie's suggest is probably the best way to go.
I'm going to mark this as closed. Please feel free to reopen this thread by writing a message
Do you like this answer?
nice makes sense!