[day-02] configure repo to use uuid type as id

This commit is contained in:
Joao P Dubas 2021-06-22 23:50:52 +00:00
parent fc73f30dd0
commit cebce7da42

View File

@ -10,6 +10,10 @@ use Mix.Config
config :wabanex,
ecto_repos: [Wabanex.Repo]
config :wabanex, Wabanex.Repo,
migration_primary_key: [type: :binary_id],
migration_foreign_key: [type: :binary_id]
# Configures the endpoint
config :wabanex, WabanexWeb.Endpoint,
url: [host: "localhost"],