Update SQL upgrade scripts.