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

How to generate PascalCase files and classes #1078

Open
emaborsa opened this issue Feb 3, 2020 · 1 comment
Open

How to generate PascalCase files and classes #1078

emaborsa opened this issue Feb 3, 2020 · 1 comment

Comments

@emaborsa
Copy link

emaborsa commented Feb 3, 2020

I use the command propel model:build in order to generate the files/classes based on the schema.xml file, where the tablenames are in Pascal Case.
However, the generated ones are not. If my table is called SimpleBook the generated file are Simplebook*.
Is there any setting?

@emaborsa
Copy link
Author

I solved it by naming the tables using underscores like simple_book, so the output is SimpleBook*

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

No branches or pull requests

1 participant