Updated extension to support migrationsPath configuration