mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	FIX - App Extension Migration (#18176)
This commit is contained in:
		
							parent
							
								
									30a526844f
								
							
						
					
					
						commit
						c1c8448c1d
					
				| @ -24,7 +24,7 @@ public class MigrationUtil { | |||||||
|   private static final String UPDATE_MYSQL_APP_EXTENSION = |   private static final String UPDATE_MYSQL_APP_EXTENSION = | ||||||
|       "UPDATE apps_extension_time_series SET json = JSON_SET(json, '$.appName', :appName) WHERE appId = :appId AND extension = 'status'"; |       "UPDATE apps_extension_time_series SET json = JSON_SET(json, '$.appName', :appName) WHERE appId = :appId AND extension = 'status'"; | ||||||
|   private static final String UPDATE_PG_APP_EXTENSION = |   private static final String UPDATE_PG_APP_EXTENSION = | ||||||
|       "UPDATE apps_extension_time_series SET json = jsonb_set(json_data, '{appName}', :appName::jsonb) WHERE appId = :appId AND extension = 'status'"; |       "UPDATE apps_extension_time_series SET json = jsonb_set(json, '{appName}', :appName::jsonb) WHERE appId = :appId AND extension = 'status'"; | ||||||
| 
 | 
 | ||||||
|   // We'll list the entries in app_extension_time_series, clean those whose appId |   // We'll list the entries in app_extension_time_series, clean those whose appId | ||||||
|   // is not installed, and for those that appId matches from installed Apps, we'll |   // is not installed, and for those that appId matches from installed Apps, we'll | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pere Miquel Brull
						Pere Miquel Brull