There's an open PR that implements dbAddObject proc that allows to add type 
definitions from different module to the global model definition. This may be 
the thing that could help you: define types in modules as you'd normally do, 
then glue them together in models.nim module.

I'll try to implement this proc for SQLite and PostgreSQL backends tomorrow.

Reply via email to