xnuinside / omymodels

O!My Models (omymodels) is a library to generate Pydantic, Dataclasses, GinoORM Models, SqlAlchemy ORM, SqlAlchemy Core Table, Models from SQL DDL. And convert one models to another.
MIT License
172 stars 18 forks source link

Foreign Key processing updates #55

Closed cfhowes closed 8 months ago

cfhowes commented 8 months ago

I was having some problems with how FOREIGN KEYs were being handled for both keys listed after the COLUMN statements (rather then inline in the statement) and for those with compound keys.

If thinks look reasonable, I'll update the changelog as well.

xnuinside commented 8 months ago

@cfhowes thanks for opening the PR, I will check little bit later

xnuinside commented 8 months ago

@cfhowes released in version 0.15.1, thank you one more time!