Mehdi Behira

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in User Avatars with ActiveStorage Discussion

hello,
i am having a problem , i want to work with active storage using uuids,
i changed the migration file but i am getting PG::UndefinedFunction: ERROR: function gen_random_uuid() does not exist can someone help .
i tried to add :

enable_extension "uuid-ossp"
enable_extension 'pgcrypto'
in the migration file but did not work