Added Missing SQL to upgrade and install SQL. Refs #414