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

Configuring field names #46

Open
sbimc opened this issue Mar 20, 2014 · 3 comments
Open

Configuring field names #46

sbimc opened this issue Mar 20, 2014 · 3 comments

Comments

@sbimc
Copy link

sbimc commented Mar 20, 2014

Hi I'm new to grails, and have been experimenting with this plugin. I was wondering if there is there a way to configure table field names? When I tried to run nimble on sql server, there are several errors because some field names are sql keywords. I tried to add the following in the NimbleConfig.groovy:
fieldnames {
external="is_external"
}
But this doesnt seem to get picked up, and I still see keyword related sql syntax errors.

@snimavat
Copy link
Owner

It is possible to configure table names - http://snimavat.github.io/nimble/guide/configuration.html#tables

Which db do you have, it goes fine in most of the datbases.. mysql etc

@sbimc
Copy link
Author

sbimc commented Mar 21, 2014

Right, I was able to find documentation on changing the table names, but I was asking about changing the column names in the tables. Are those configurable?
Adding this to NimbleConfig.groovy didn't seem to work:

fieldnames {
external="is_external"
}

@snimavat
Copy link
Owner

Nope.

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

2 participants