mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	Merge pull request #13655 from lkho/pr/database-schema-diff-columns
fix: diff indexes columns
This commit is contained in:
		
						commit
						ffaff7c66a
					
				| @ -53,7 +53,7 @@ module.exports = db => { | |||||||
|   const diffIndexes = (oldIndex, index) => { |   const diffIndexes = (oldIndex, index) => { | ||||||
|     const changes = []; |     const changes = []; | ||||||
| 
 | 
 | ||||||
|     if (_.difference(oldIndex.columns, index.columns).length > 0) { |     if (!_.isEqual(oldIndex.columns, index.columns)) { | ||||||
|       changes.push('columns'); |       changes.push('columns'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Alexandre BODIN
						Alexandre BODIN