Login
From:
bitcrowd blog Blog
(Uncensored)
subscribe
Idempotent seeds in Elixir
https://bitcrowd.dev/idempotent-seeds-in-elixir
links
backlinks
Tagged with:
elixir
phoenix
seeds
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.
Roast topics
Find topics
Find it!