This is handled by our deployment tool. It won't allow the new executable to run until the database has been updated to the new schema.