mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 21:41:55 +00:00
14 lines
362 B
PL/PgSQL
14 lines
362 B
PL/PgSQL
BEGIN;
|
|
|
|
-- Restore CHICKIN route if rollback is required.
|
|
-- NOTE: released PROJECT_CHICKIN allocations are not restored by this down migration.
|
|
UPDATE fifo_stock_v2_route_rules
|
|
SET is_active = TRUE,
|
|
updated_at = NOW()
|
|
WHERE flag_group_code = 'AYAM'
|
|
AND lane = 'USABLE'
|
|
AND function_code = 'CHICKIN_OUT'
|
|
AND source_table = 'project_chickins';
|
|
|
|
COMMIT;
|