Skip to content

Instantly share code, notes, and snippets.

@josdem
Last active July 4, 2016 20:18
Show Gist options
  • Save josdem/2822d1c5e22a1cb3d43b to your computer and use it in GitHub Desktop.
Save josdem/2822d1c5e22a1cb3d43b to your computer and use it in GitHub Desktop.
//Run specific test
grails test-app -unit com.modulus.uno.UserServiceSpec
//Run all test
grails test-app
//Create controller and views from a domain class
grails generate-all com.modulus.uno.Telephone
//Create a Service
create-service com.modulus.uno.ClientService
//Generate a changelog.groovy (You must have your database structure created)
grails dbm-generate-changelog changelog.groovy
//See changes to the database
dbm-gorm-diff
//Add a file to the changelog
dbm-gorm-diff adding-folio-to-sale-order --add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment