Unexpected error running Liquibase: Invalid `addFulltextConstraint`

雨燕双飞 提交于 2019-12-11 20:05:27

问题


Okay so Im new to Liquibase and this might be a silly question, but...

Im running a update script to generate the database.
When I run the script I get this message (well this is a scaled down version to make it more readable ).

This script was created by someone who has been doing it for a while, but Im trying to figure out if its a bug or if Im doing something wrong. Anyway here is the output.

liquibase update

Unexpected error running Liquibase: Error parsing line 5076 column 153 of 01_base.xml: cvc-complex-type.2.4.a: Invalid content was found starting with element

'addFulltextConstraint'

:validCheckSum :preCondition :tagDatabas :comment :createTable :dropTable :createView :renameView :dropView :insert :addColumn :sql :createProcedure :dropProcedure :sqlFile :renameTable :renameColumn :dropColumn :mergeColumns :modifyDataType :createSequence :alterSequence :dropSequence :renameSequence :createIndex :dropIndex :addNotNullConstraint :dropNotNullConstraint :addForeignKeyConstraint :dropForeignKeyConstraint :dropAllForeignKeyConstraints :addPrimaryKey :dropPrimaryKey :addLookupTable :addAutoIncrement :addDefaultValue :dropDefaultValue :addUniqueConstraint :dropUniqueConstraint :customChange :update :delete :loadData :loadUpdateData :executeCommand :stop :output :empty :rollback :modifySql

is expected.


回答1:


There is no standard "addFulltextConstraint" change available in Liquibase. Is there a custom extension that has been written to support it that needs to be included in your classpath?



来源:https://stackoverflow.com/questions/27033231/unexpected-error-running-liquibase-invalid-addfulltextconstraint

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!