snimavat / nimble

Nimble Security Grails Plugin
Other
15 stars 19 forks source link

Configuring field names #46

Open sbimc opened 10 years ago

sbimc commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

Nope.