mirror of
https://github.com/strapi/strapi.git
synced 2025-07-24 17:40:18 +00:00
chore: improve error message
This commit is contained in:
parent
9270ee9f27
commit
b81d7bec39
@ -18,7 +18,7 @@ class Metadata extends Map {
|
||||
for (const meta of this.values()) {
|
||||
if (seenTables.get(meta.tableName)) {
|
||||
throw new Error(
|
||||
`DB table ${meta.tableName} already exists. Change the collectionName of this content type.\n More info here: https://docs.strapi.io/developer-docs/latest/development/backend-customization/`
|
||||
`DB table "${meta.tableName}" already exists. Change the collectionName of the related content type.`
|
||||
);
|
||||
}
|
||||
seenTables.set(meta.tableName, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user