If it gets here the version is version 8 - i.e. we know it has the path table as we needed to change it to go to version 9.

Still, I have no problem adding IF EXISTS - we mayaswell strive to be as bulletproof as possible, and both mysql and sqlite support it.

Will add a commit on top moving to this.