mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +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()) { |     for (const meta of this.values()) { | ||||||
|       if (seenTables.get(meta.tableName)) { |       if (seenTables.get(meta.tableName)) { | ||||||
|         throw new Error( |         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); |       seenTables.set(meta.tableName, true); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jamie Howard
						Jamie Howard