While deploying the ZENworks 2017 Appliance, if you configure external PostgreSQL as the database (ZENworks and Audit) using the New Schema option, then the Audit database might not be created.
Workaround: Create a PostgreSQL database schema and then deploy the appliance. During the appliance deployment, configure the external PostgreSQL database using the Existing Schema option.
For more information on creating PostgreSQL schema, see the Creating External PostgreSQL Database Schema section.