openreplay/ee/scripts/schema/db/init_dbs/postgresql/1.2.0/1.2.0.sql
2022-10-28 10:55:13 +02:00

6 lines
No EOL
197 B
PL/PgSQL

BEGIN;
CREATE TYPE user_origin AS ENUM ('saml');
ALTER TABLE public.users
ADD COLUMN origin user_origin NULL DEFAULT NULL,
ADD COLUMN internal_id text NULL DEFAULT NULL;
COMMIT;