Production database in dashboard -> to migration files
Hey everyone
I have a production database up & running. I don't have a development one. Our app is starting to grow, we have thousands and thousands of user every day.
I cannot afford developing in the production database anymore.
What is the best way to pull out the schema and generate migration(s) file(s) and deploy to a different environment (let's call it development)?
I have a production database up & running. I don't have a development one. Our app is starting to grow, we have thousands and thousands of user every day.
I cannot afford developing in the production database anymore.
What is the best way to pull out the schema and generate migration(s) file(s) and deploy to a different environment (let's call it development)?