This aims to fix an issue we are having. The database dump update is stuck, even considering that the process is still running.
I think I did not know about transactions when I coded the scripts part. This project was using the strange approach of creating a temp database, performing restoring the dump on it, then rename columns from the temp database to the wca_development one. The issue I was trying to solve when I coded this is the same that we solve when using transactions. So, we are removing the creative way of doing this and we are starting to use transactions.
This aims to fix an issue we are having. The database dump update is stuck, even considering that the process is still running.
I think I did not know about transactions when I coded the scripts part. This project was using the strange approach of creating a temp database, performing restoring the dump on it, then rename columns from the temp database to the wca_development one. The issue I was trying to solve when I coded this is the same that we solve when using transactions. So, we are removing the creative way of doing this and we are starting to use transactions.