Is your feature request related to a problem? Please describe.
When it comes to database partitioning and sharding, composite primary keys are often recommended.
Describe the solution you'd like
A solution to define composite primary keys on the model, and foreign keys capable of referring to composite primary keys.
Describe alternatives you've considered
It's always possible to work around the ORM, but it's inconvenient, especially when building a system with a lot of tables.
Is your feature request related to a problem? Please describe. When it comes to database partitioning and sharding, composite primary keys are often recommended.
Describe the solution you'd like A solution to define composite primary keys on the model, and foreign keys capable of referring to composite primary keys.
Describe alternatives you've considered It's always possible to work around the ORM, but it's inconvenient, especially when building a system with a lot of tables.