mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix(store): DB should not override createdAt if set.
This commit is contained in:
		
							parent
							
								
									79c64fbb0f
								
							
						
					
					
						commit
						67ec4b58fe
					
				@ -96,6 +96,7 @@ class FeatureToggleStore {
 | 
			
		||||
            enabled: data.enabled ? 1 : 0,
 | 
			
		||||
            archived: data.archived ? 1 : 0,
 | 
			
		||||
            strategies: JSON.stringify(data.strategies),
 | 
			
		||||
            created_at: data.createdAt, // eslint-disable-line
 | 
			
		||||
        };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user