Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple features #130

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Add multiple features #130

wants to merge 27 commits into from

Conversation

saleyn
Copy link

@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