Function uuid_generate_v4() does not exist postgresql Edit

Murugan Andezuthu Dharmaratnam | 22 September 2021 | 164

When I was trying to call the function uuid_generate_v4, I am getting this error Function uuid_generate_v4() does not exist postgresql

Solution

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";