feat(DB): fixed new type issue

This commit is contained in:
Taha Yassine Kraiem 2022-08-29 18:23:09 +01:00
parent e60bb4d41e
commit b80bba2e85

View file

@ -824,7 +824,7 @@ $$
IF NOT EXISTS(SELECT *
FROM pg_type typ
WHERE typ.typname = 'alert_detection_method') THEN
WHERE typ.typname = 'alert_change_type') THEN
CREATE TYPE alert_change_type AS ENUM ('percent', 'change');
END IF;