Switch over to lower-cased table and column names

Matches what's actually in the postgres database.  This will fix the foreign
key issue when committing parallel worker nodes