Plsm icon indicating copy to clipboard operation
Plsm copied to clipboard

Elixir mix task to generate Ecto models from already existing tables

Results 18 Plsm issues
Sort by recently updated
recently updated
newest added

fixes #104 - Add support for composite primary keys - Fixes bug where repeated keys in indexes generate duplicate fields. Composite primary keys are supported by generated multiple true primary_key...

I saw this connecting to MySQL: ``` ** (stop) an exception was raised: ** (FunctionClauseError) no function clause matching in :inet_tcp.getserv/1 (kernel 8.0.2) inet_tcp.erl:55: :inet_tcp.getserv("3306") ``` Fixed my updating port...

If you have a column that is a primary key and also has a unique constraint that column will be exported twice in the output. We don't need to worry...

bug

Is it possible to pass a schema/prefix to the library if my Postgres tables are in a schema different from the default 'public' one? For ecto itself, I'm able to...

Currently there are no tests and that is a problem as we are relying on contributors to set up their database and test. Now, connecting to a database is going...

enhancement
help wanted

It is a pain to have to manually create the destination folder if it doesn't already exist. The user should be prompted if the folder doesn't exist and asked if...

enhancement

Currently there is little to no documentation in the code base, which is not good.

enhancement

- Control overwriting existing files (when running `mix plsm` the user is prompted for confirmation) - Add command line option `-t|--table Table` for generating a single schema (e.g. `mix plsm...