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

prevent table names from keywords and reserved words #165

Open
jchouix opened this issue Feb 4, 2024 · 2 comments
Open

prevent table names from keywords and reserved words #165

jchouix opened this issue Feb 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jchouix
Copy link

jchouix commented Feb 4, 2024

Hello,
if I want to create a module with the name "groups", I will have a problem because the word "groups" is reserved in the mysql database.
To resolve this problem, it would be desirable to surround the $target_tbl variable with backticks (`) in the Model.php file.
What do you think ?
Best regards.

@DaFa66 DaFa66 added the enhancement New feature or request label Feb 24, 2024
@DaFa66
Copy link
Collaborator

DaFa66 commented Feb 24, 2024

Yes, this would be an improvement to the Model.php and also implemented in the Desktop app as it hangs when creating apps with hyphens in the name - e.g. 'tg-app'.

@trongate
Copy link
Owner

Simon, please do remind me to look into this during a livestream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants