Skip to content

Add multiple features#130

Open
saleyn wants to merge 27 commits intojhartwell:masterfrom
saleyn:master
Open

Add multiple features#130
saleyn wants to merge 27 commits intojhartwell:masterfrom
saleyn:master

Conversation

@saleyn
Copy link
Copy Markdown

@saleyn saleyn commented Oct 3, 2022

  • 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 -t invoice)
  • Add support for Ecto.Enum types
  • Add support for auto-incrementing primary keys becoming :id field types
  • Add support for compound primary keys
  • Improve alignment of output
  • Rename database_name option to database (the old name is deprecated, but is backward-compatible)
  • Removed unnecessary modules
  • Add FK field name to belongs_to reference
  • Make file names and ecto structs singular rather than plural
  • Various bug fixes

jgautsch and others added 27 commits May 25, 2022 11:49
allow db schema to be set in config
declare schema prefix in generated files
singularize ecto schema and file names
- Control overwriting existing files
- Add support for enum types
- Improve alignment of output
- Control overwriting existing files
- Add support for enum types
- Add support for auto-incrementing primary keys
- Improve alignment of output
- Rename `database_name` option to `database` (the old name is
  deprecated, but backward-compatible)
- Removed unnecessary modules
- Add FK field name to belongs_to reference

Add field name to fk references
- Control overwriting existing files
- Add support for enum types
- Add support for auto-incrementing primary keys
- Improve alignment of output
- Rename `database_name` option to `database` (the old name is
  deprecated, but backward-compatible)
- Removed unnecessary modules
- Add FK field name to belongs_to reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants