sea-orm
sea-orm copied to clipboard
sea-orm-cli: Add support for postgres inheritance
Motivation
sea-orm-cli generate entity does not currently generate entities from tables using inheritance.
Proposed Solutions
For entity generation every table that uses the INHERITS statement should be generated as an entity and the base table should be ignored
Relevant discussion: https://github.com/SeaQL/sea-orm/discussions/2412