feat(DB): msteams as webhook-type

This commit is contained in:
Taha Yassine Kraiem 2022-11-17 16:12:55 +01:00
parent c426501624
commit e176f9bd44
2 changed files with 12 additions and 0 deletions

View file

@ -18,4 +18,6 @@ CREATE TABLE IF NOT EXISTS assist_records
duration integer NOT NULL
);
ALTER TYPE webhook_type ADD VALUE IF NOT EXISTS 'msteams';
COMMIT;

View file

@ -0,0 +1,10 @@
BEGIN;
CREATE OR REPLACE FUNCTION openreplay_version()
RETURNS text AS
$$
SELECT 'v1.9.5'
$$ LANGUAGE sql IMMUTABLE;
ALTER TYPE webhook_type ADD VALUE IF NOT EXISTS 'msteams';
COMMIT;