From c401eb129f08655a628c6d48bad9e83ccd8a1eb7 Mon Sep 17 00:00:00 2001 From: Irwan Fathurrahman Date: Wed, 10 Jul 2024 12:14:29 +0700 Subject: [PATCH] Update query (#132) --- migrations/sql/gwml/functions.sql | 2 +- tasks/data_file_cache/base_cache.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/migrations/sql/gwml/functions.sql b/migrations/sql/gwml/functions.sql index f4b2ac0..e777acb 100644 --- a/migrations/sql/gwml/functions.sql +++ b/migrations/sql/gwml/functions.sql @@ -10,6 +10,6 @@ END; LANGUAGE plpgsql; CREATE TRIGGER trigger_well - AFTER INSERT OR UPDATE + AFTER INSERT ON well FOR EACH ROW EXECUTE PROCEDURE update_mv(); \ No newline at end of file diff --git a/tasks/data_file_cache/base_cache.py b/tasks/data_file_cache/base_cache.py index f52b25c..fdb671f 100644 --- a/tasks/data_file_cache/base_cache.py +++ b/tasks/data_file_cache/base_cache.py @@ -246,7 +246,6 @@ def run(self): is_ggmn = well.is_ggmn( ggmn_organisations_list ) and well.organisation - print(is_ggmn) self.merge_data_per_well( well, self.wells_filename,