s

Function uuid_generate_v4() does not exist postgresql edit button Edit

author
Murugan Andezuthu Dharmaratnam | calendar 22 September 2021 | 2472

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";