数据库更新报错

我每次更新数据库时一直报160405-createUniqSysCategory.sql等更新数据库文件出错,这个是什么原因?

Task :app-core:updateDb FAILED
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Executing script C:\Users\Lenovo\Desktop\20191028\modules\core\build\db\10-cuba\update\mysql\16\160405-createUniqSysCategory.sql
Failed to execute: alter table SYS_CATEGORY add DELETE_TS_NN datetime(3) not null default ‘1000-01-01 00:00:00.000’ because: Duplicate column name ‘DELETE_TS_NN’

FAILURE: Build failed with an exception.

看一下是不是 SYS_CATEGORY 这个表里已经有 ‘DELETE_TS_NN’ 列了。

已经有了,但系统不应该是自动对比数据库版本再更新的吗?