Running Data Migration Scripts in Production
oelnajmi
HOBBYOP
a year ago
What is the best way for me to run a data migration script in production?
My local development is connected to my staging environment, so I can run this locally to see my changes. I can change the url to point to my database in production, but I was wondering if there is another better or more standard way of doing this. I only need to run this script once to migrate some data from one table to another.
Thanks
1 Replies
a year ago
The most common way I've seen it done would be to do it in your start command, what you are already doing!