Fix NexradWorker UUID type: use generate() not bingenerate() for insert_all
This commit is contained in:
parent
1f8fc4d4aa
commit
4487fc22e9
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ defmodule Microwaveprop.Workers.NexradWorker do
|
|||
rows =
|
||||
Enum.map(observations, fn obs ->
|
||||
obs
|
||||
|> Map.put(:id, Ecto.UUID.bingenerate())
|
||||
|> Map.put(:id, Ecto.UUID.generate())
|
||||
|> Map.put(:inserted_at, now)
|
||||
|> Map.put(:updated_at, now)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue