This SQL should have been updated a long time ago

(cherry picked from commit 0700694fba7dc21b476b0fa3cb9106f798f112c2)