运行Liquibase发生意外错误:无效的`addFulltextConstraint` [英] Unexpected error running Liquibase: Invalid `addFulltextConstraint`

查看:148
本文介绍了运行Liquibase发生意外错误:无效的`addFulltextConstraint`的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我是Liquibase的新手,这可能是一个愚蠢的问题,但是...

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

: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.

推荐答案

在Liquibase中没有可用的标准"addFulltextConstraint"更改.是否有编写的自定义扩展来支持该扩展,而该扩展必须包含在您的类路径中?

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?

这篇关于运行Liquibase发生意外错误:无效的`addFulltextConstraint`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆