Phoenix 1.3.0 released

If you have two database-backed schemas in different contexts that are entirely separate, but named the same, then you will need to give one of them a unique name. You can do this by passing the --table flag to the generator.

We would need to talk about your specific use case to say more, but please check out the new context guide which will give you ideas how to handle this kind of scenario. In the guide we create an authors table for author specific information for our CMS, rather than polluting our Account’s “users” table with author specific data.
https://hexdocs.pm/phoenix/1.3.0-rc.3/contexts.html

6 Likes