0

I installed the Nimble 0.7 plugin for Grails just now, and have a running instance, but I now want to customise the table names. I followed the instructions in the plugin’s guide and restarted my app, but nothing happens. I also tried to manually delete the tables and restart the app, and it generated the tables with their original names.

NimbleConfig.groovy

nimble {
    ....
    tablenames {
        user = "auth_user"
        role = "auth_role"
        group = "auth_group"
        profilebase = "auth_profile_base"
        loginrecord = "auth_login_record"
        permission = "auth_permission"
        levelpermission = "auth_level_permission"
        url = "auth_url"
    }
    ....
}
ben3000
  • 4,629
  • 6
  • 24
  • 43
  • 1
    What does your NimbleConfig.groovy look like? – rmlan Apr 28 '14 at 15:24
  • I updated my question with my additions to the NimbleConfig.groovy file. – ben3000 Apr 29 '14 at 00:33
  • Well this is strange. I invoked `run-app` just now, and the new tables have now been created... I've made no change to the app since posting this question! I have the project open in Intellij IDEA at the same time as it runs in Grails interactive mode, but even that was the case when I asked this question. – ben3000 Apr 30 '14 at 05:24
  • Gawd, I hate it when things resolve "by themselves"--no opportunity to learn! – ben3000 Apr 30 '14 at 14:14

0 Answers0