sql upgrade script 2.2.1-2.2.2 was being executed with the wrong sequence