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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top