Closed apstanisic closed 1 year ago
I can't have 2 relations to the same table. For example:
posts.mainAuthor -> authors.id posts.secondAuthor -> authors.id
This breaks app, since Zmaj can't initialize relations. At very least, wrap generating relations in try/catch, and on error, create models without relations
Switched to v6 stable for now. It looks like v7 stable won't come soon
I can't have 2 relations to the same table. For example:
This breaks app, since Zmaj can't initialize relations. At very least, wrap generating relations in try/catch, and on error, create models without relations