I have a development server where I am switching between versions 1.0.x and 1.1.x, I have puppet in a git repo with branches to switch between these versions. When switching between versions I manually over write the database with a back up from my production server.
If I have been working in 1.1.x and switch to 1.0.x and run puppet it will apply the 1.1.x updates even though they don't exist in my folder of database scripts.
I have found the cause of this problem is the files flyway generates in /tmp are not cleaned up so 1.1.x scripts will exist in /tmp and will be run when I run puppet.
I have a development server where I am switching between versions 1.0.x and 1.1.x, I have puppet in a git repo with branches to switch between these versions. When switching between versions I manually over write the database with a back up from my production server.
If I have been working in 1.1.x and switch to 1.0.x and run puppet it will apply the 1.1.x updates even though they don't exist in my folder of database scripts.
I have found the cause of this problem is the files flyway generates in /tmp are not cleaned up so 1.1.x scripts will exist in /tmp and will be run when I run puppet.