# Removing Replicate artifacts from the database

In order to capture DDLs, Qlik Replicate creates various artifacts in the PostgreSQL database when the task starts. When the task completes, you may wish to remove these artifacts.

To remove the artifacts, execute the following statements (in the order they appear below), where `public` is the default schema in which the artifacts were created:

Information noteThe `event` `trigger` does not belong to a specific schema.

`drop event trigger attrep_intercept_ddl;` `drop function public.attrep_intercept_ddl()` `drop table public.attrep_ddl_audit`