Merge pull request #186 from Tria-plc/freight/hotfix_1

fix prod issue
This commit is contained in:
yaschalew10
2026-06-16 19:40:27 +03:00
committed by GitHub

View File

@@ -14,6 +14,10 @@ export class NormalizeWeightLimitTradeDirectionBoth1749000000000
UPDATE freight.weight_limit_rules
SET trade_direction = 'BOTH'
WHERE trade_direction::text = 'ANY';
UPDATE freight.weight_limit_rules
SET trade_direction = 'IMPORT'
WHERE trade_direction IS NULL;
EXCEPTION WHEN undefined_table OR undefined_column THEN NULL;
END $$;
`);