example of two issues when using composite_primary_keys gem with postgis and SERIAL id columns