Fix field name
This commit is contained in:
parent
9f2ddada28
commit
5cb5db019f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ BEGIN
|
|||
SELECT tgl.system_id, tgl.tgid, tgl.name, tgl.alpha_tag FROM talkgroups_learned tgl WHERE tgl.system_id = NEW.system AND tgl.tgid = NEW.talkgroup
|
||||
) THEN
|
||||
INSERT INTO talkgroups_learned(system_id, tgid, name, alpha_tag) VALUES(
|
||||
NEW.system, NEW.talkgroup, NEW.tg_label, NEW.alpha_tag
|
||||
NEW.system, NEW.talkgroup, NEW.tg_label, NEW.tg_alpha_tag
|
||||
) ON CONFLICT DO NOTHING;
|
||||
END IF;
|
||||
RETURN NEW;
|
||||
|
|
Loading…
Reference in a new issue