-------------------------------------------------------------------------------
-- Thermal Profile refactor: repoint the existing FrontEnd route to the new
-- location under /app/pages/mes/thermal-profile/.
-- No role changes, no SP changes, no menu changes — legacy is retained as
-- reference under /app/custom-screens/thermal-profile/ but is no longer
-- reachable from the menu once this script runs.
-------------------------------------------------------------------------------

USE [IHBoxSystem]
GO

UPDATE [FrontEnd].[Routes]
   SET [ModulePath] = 'pages/mes/thermal-profile/'
 WHERE [ModuleName] = 'thermal-profile'
   AND [ModulePath] = 'custom-screens/thermal-profile/';
GO
