Closed daviaws closed 1 year ago
Yeah, mix ecto.ch.schema
is at PoC stage right now, I'll try and add config lookup from Repo today.
I think it should be fixed in https://github.com/plausible/ecto_ch/pull/83
@daviaws could you please try it out? If it works, I'll cut a release with that fix later today.
You'd need to update deps/0
in your mix.exs
def deps do
[
...
- {:ecto_ch, "~> 0.1"},
+ {:ecto_ch, github: "plausible/ecto_ch", branch: "repo-config-ecto-ch-schema"}
...
]
end
Thank you! I'll check soon!!
I reviewed and left a comment. But great work. I think after that you can close this one :)
I tried to get my schemas as said in the README, but I found this error:
After editing the code:
And run:
mix deps.compile ecto_ch
I still had to run like this:
mix ecto.ch.schema vehicle_summaries_replicated
To get the real result.