Create custom keys in ecto
Ecto uses int as the default data type for primary keys.
To use a different data type, do the following
1. Inside your migration, add “primary_key: false” to create table definition.
2. next this as the firs line inside the create table block
add :id, :uuid, primary_key: true
Thats it.
how to http requests flow through a phoenix app
[ ]
This is a heading
this is a sub heading
This is a list
- list item 1
- list item 2
- list item 3
This is a code block
$foo = 'bar'