[day-02] configure repo to use uuid type as id
This commit is contained in:
parent
fc73f30dd0
commit
cebce7da42
@ -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"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user