开发者

Best migration plugin in grails? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I come to grails from rails. I need a database migration tool similar to the rails migration. I need 开发者_JAVA百科to keep always updated the database (schema and data) for the webapp that i ship. Any hint?


As far as I can tell, the autobase plugin is probably the best migration plugin for grails. It is based on the Liquibase plugin but makes it so you don't have to rely on xml configuration.


I'd actually suggest either the liquibase plugin, or possibly just liquibase outside of grails. The plugin itself isn't truthfully documented all that well (but it works great), but the liquibase framework itself is, and is easy to use.

Autobase is also based on liquibase under the covers, but as other have noted, it isn't supported anymore and I'm not sure that it was feature complete when Robert stopped working on it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜