/* **********************************************************
 * Copyright 2021 VMware, Inc.  All rights reserved. -- VMware Confidential
 * **********************************************************/

BEGIN;

/*
 * Updates Target Deploy for public cert cleanup
 */

ALTER TABLE NduTargetDeployment
    ADD PUBLIC_KEY TEXT;

ALTER TABLE NduTargetDeployment
    ADD KNOWNHOSTS_ENTRIES TEXT[];

INSERT INTO UpgradeTracking VALUES(:ndu_id, :ndu_operation);

COMMIT;