You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to generate entities of one schema fails if a table references (anything?) a enum from another schema.
I am not quite sure if this is a bug or a limitation of the cli as it only allows to define/provide a single schema per generation run.
On a site not, the created enum is also not generated.
Description
Trying to generate entities of one schema fails if a table references (anything?) a enum from another schema.
I am not quite sure if this is a bug or a limitation of the cli as it only allows to define/provide a single schema per generation run.
On a site not, the created enum is also not generated.
Steps to Reproduce
x
with a single enum withiny
with table referencing this enumExpected Behavior
The generation to succeed.
Actual Behavior
Aborts with error:
error returned from database: type "XXX" does not exist
Reproduces How Often
100%
Workarounds
None really - Move all entities into a single schema?
Reproducible Example
Versions
sea-orm-cli:
1.1.1
database:
postgres
The text was updated successfully, but these errors were encountered: