Changed case senstive table names for Postgres intergration
more case changes to hopefully fix postgres intergration