added multiple primary keys for postgres