Adding MySQL statements to check for and setup proper database schema.