jhartwell / Plsm

Elixir mix task to generate Ecto models from already existing tables
MIT License
265 stars 54 forks source link

Add basic support for SQLite #124

Open jmisasa opened 2 years ago

jmisasa commented 2 years ago

Hi @jhartwell

I am currently learning Elixir and Plsm has come in handy to generate Ecto models from an existing basic SQLite database of a pet project that I want to migrate to Phoenix as practice.

Since it might also be useful to someone else, here are the proposed changes.

One of the caveats is the lack of support for foreign keys. I'd be glad to read your thoughts and address your proposed modifications.

Thanks for your work on Plsm!