VocabReminder
Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

How to Enable UUIDs in Postgres

       

The first thing you'll need to do is enable the extension

create extension "uuid-ossp";

To test that it's working

select uuid_generate_v1();

For more info on which version of the algorithm you should use refer to the documentation.

Postgres UUID OSSP Documentation

Tagged w/ #postgres #uuid #extensions #pg