Using unitils/dbMaintain to maintain database, how to exclude scripts from being run?

前端 未结 1 1279
南旧
南旧 2021-01-28 00:15

I am using unitils (and its dbMaintain module) to maintain the state of my local database.

dbMaintain has an option to exclude/include scripts based on a qualifier. S

相关标签:
1条回答
  • 2021-01-28 00:33

    Answered by one of the unitils developers on the unitils forums here: http://sourceforge.net/projects/unitils/forums/forum/570578/topic/4546980

    Qualifiers are a feature of dbmaintain. Unitils 3.1still contains its own dbmaintainer which still dates from before the split-off of dbmaintain. Unitils 4.0 has this module replaced by a dependency to dbmaintain, but this version is not released yet. I would suggest that, until 4.0 is released, you call dbmaintain directly from your java code. Hope this helps, Filip

    0 讨论(0)
提交回复
热议问题