Login
Roast topics
Find topics
Find it!
From:
bitcrowd blog Blog
(Uncensored)
subscribe
Idempotent seeds in Elixir
https://bitcrowd.dev/idempotent-seeds-in-elixir
links
backlinks
Tagged with:
elixir
phoenix
seeds
Roast topics
Find topics
Roast it!
At Bitcrowd, we like our seeds to be idempotent. In practice, this means that running them multiple times will not create more rows each time, but rather upsert the existing data.