Time unification
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
-- SESSION-TZ ASSUMPTION: this script runs with TimeZone=America/Chicago
|
||||
-- (pinned in the pool config and as the inventory_db database default).
|
||||
-- CURRENT_DATE / NOW()::date / ts::date here mean the BUSINESS date
|
||||
-- (Chicago calendar day = 1am-Eastern day rule). See docs/TIME.md.
|
||||
-- Description: Populates lifecycle forecast columns on product_metrics from product_forecasts.
|
||||
-- Runs AFTER update_product_metrics.sql so that lead time / days of stock settings are available.
|
||||
-- Dependencies: product_metrics (fully populated), product_forecasts, settings tables.
|
||||
|
||||
Reference in New Issue
Block a user