[FIX] Fixed bug with migrations dir variable