Skip to content

Commit

Permalink
Adjust mobile_provider_id if location is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Jun 9, 2023
1 parent bfdce03 commit cdfc860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/postgresql/trigger/functions/trigger_test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ begin
OR NEW.network_sim_operator IS DISTINCT FROM OLD.network_sim_operator
OR NEW.network_operator IS DISTINCT FROM OLD.network_operator
OR NEW.time IS DISTINCT FROM OLD.time
OR NEW.location IS DISTINCT FROM OLD.location
) THEN

IF (NEW.network_sim_operator IS NULL OR NEW.network_operator IS NULL) THEN
Expand Down

0 comments on commit cdfc860

Please sign in to comment.