BS-1860 : Create a groovy script to call the correct SQL scripts
- Add check for migration folder version