DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'UserRole') THEN
CREATE TYPE "UserRole" AS ENUM ('USER', 'ADMIN', 'TEMP');
END IF;
END$$;
For further actions, you may consider blocking this person and/or reporting abuse
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'UserRole') THEN
CREATE TYPE "UserRole" AS ENUM ('USER', 'ADMIN', 'TEMP');
END IF;
END$$;
For further actions, you may consider blocking this person and/or reporting abuse
akhil mittal -
Farhan Ahmed (Farhan41230301394) -
Hexadecimal -
Vikas76 -
Top comments (0)