Is there any way I can only do a database schema check in grails? How can we compile, cleanetc., Can we do something like this grails dbvalidateand get only the results of the check.
I mean the check that occurs when specifying dbCreate = 'validate'in DataSource.groovy and executingrun-app
The reason is because I want to be able to fix tables myself and get SQL for the alter/ commands create(which are contained separately in our environment)
I understand that domain classes must be loaded in order to make this possible. Thus, is it possible to somehow stop execution run-appafter checking the database schema - in this case there is a way to avoid steps that are not related to checking db (for example, setting spring security in my application)
source
share