Apologies, found it in the source:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/event_handlers/mod_cdr_pg_csv/scripts/create.sql

On Mon, Oct 12, 2015 at 12:50 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I'm trying to use the mod_cdr_pg_csv module for storing CDRs in PostgreSQL.
https://wiki.freeswitch.org/wiki/Mod_cdr_pg_csv

I can see the schema/fields in the .xml config, but are there a .sql-script for creating the table in PostgreSQL with the correct column types etc.?