The conenctions model does not enforce a primary key on the connection id. This causes multiple conenctions with the same id to be - potentially - stored in the database, breaking functionality.
Example: ACA-Py sends a webhook for a new connection, and receives a 500 error as a response. It will try again to deliver the webhook for several times during which the endorser may store new records with the same id.
The conenctions model does not enforce a primary key on the connection id. This causes multiple conenctions with the same id to be - potentially - stored in the database, breaking functionality.
Example: ACA-Py sends a webhook for a new connection, and receives a 500 error as a response. It will try again to deliver the webhook for several times during which the endorser may store new records with the same id.