Question

I'm using Slick 2 code generator and so far so good, but there is one problem though. If I have 2 schemas on my Postgres database and each of those schemas have a table with the same name - code generator creates duplicate classes resulting in an obvious error. Is there a way to circumvent this? Is there a way to designate multiple schemas in one database?

Was it helpful?

Solution

That's a know issue: https://github.com/slick/slick/issues/593

You should be able to work around it by customizing the code generator. There is an attempt in there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top