Improve error messaging when there is duplicate key or foreign key names

Description

This error message is not very helpful, it should contain what is the duplicate key name and why.

Environment

None

Assignee

Jan Lindström

Reporter

Jan Lindström

Labels

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Minor
Configure