문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top