Published onJune 29, 2018Generate UUID fields in Phoenix with PostgresqlelixirectopostgresqluuidLearn how to create a non-primary key UUID field in an Ecto schema using PostgreSQL's `uuid_generate_v4()` function.