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

USE [IHBoxSystem]
GO

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