Skip to content

Commit

Permalink
rolling back id changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phcurado committed May 26, 2021
1 parent feb4b7f commit a3b8fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transla_table.ex
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ defmodule TranslaTable do
translation
|> cast(
attrs,
Enum.map(@fields, fn {f, _t} -> f end) ++ @foreign_keys ++ [:id]
Enum.map(@fields, fn {f, _t} -> f end) ++ @foreign_keys
)
|> unique_constraint(@foreign_keys)
end
Expand Down

0 comments on commit a3b8fa2

Please sign in to comment.