Replace Figaf License id

Replace Figaf License id

To replace the license ID in the Figaf tool, follow these steps in order:

  1. Connect to your SAP PostgreSQL service
    Open a terminal (with the Cloud Foundry CLI installed) and follow the instructions here to establish a direct psql connection:
    https://help.figaf.com/portal/en/kb/articles/connect-to-sap-psql

  2. Remove existing license items

    DELETE FROM irt.irt_license_item;
    
  3. Update the license ID

    UPDATE irt.irt_license
      SET id = '<new_license_id>'
      WHERE id = '<old_license_id>';