mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-30 17:37:26 +00:00 
			
		
		
		
	change length to 36 for type uuid mysql
This commit is contained in:
		
							parent
							
								
									dd7e6a479c
								
							
						
					
					
						commit
						6c0abfc314
					
				| @ -398,7 +398,7 @@ module.exports = function(strapi) { | ||||
|                       } else { | ||||
|                         switch (attribute.type) { | ||||
|                           case 'uuid': | ||||
|                             type = definition.client === 'pg' ? 'uuid' : 'varchar(255)'; | ||||
|                             type = definition.client === 'pg' ? 'uuid' : 'varchar(36)'; | ||||
|                             break; | ||||
|                           case 'text': | ||||
|                             type = definition.client === 'pg' ? type = 'text' : 'longtext'; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 KuongKnight
						KuongKnight