From 39dc65ab9c53203ae20d6c7db697f335ddafeefa Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 12 Jul 2021 14:27:05 -0400 Subject: [PATCH] immediately insert the forecast pool to the live pool --- build/build_pool.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build_pool.sql b/build/build_pool.sql index 5a58add..11b49b4 100644 --- a/build/build_pool.sql +++ b/build/build_pool.sql @@ -171,7 +171,7 @@ FROM --LIMIT 100 ) WITH DATA; ---INSERT INTO rlarp.osm_pool SELECT * FROM rlarp.osm_pool_stage; +INSERT INTO rlarp.osm_pool SELECT * FROM rlarp.osm_pool_stage; --CREATE INDEX osm_qr ON rlarp.osm_pool(quota_rep_descr, bill_cust_descr, ship_cust_descr); --ALTER TABLE rlarp.osm_pool ADD CONSTRAINT logfk FOREIGN KEY (logid) REFERENCES rlarp.osm_log(id);