Replies: 1 comment 2 replies
-
|
Yes. This is on purpose. Calling tables without primary keys "Views" is because naming is hard 😅 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For the following schema, bobgen will always generate the model for
table_with_no_primary_keyas a view:(note, that the unique constraint is not necessary for this minimal example)
Results in:
This is because RelIsView assumes that a table with no primary keys is always a view.
Beta Was this translation helpful? Give feedback.
All reactions