【发布时间】:2022-08-19 00:22:13
【问题描述】:
我想在 Oracle 数据库中使用 yaml 语言在 Liquibase 中执行下面的 te 命令,我该怎么做?
alter table MYTABLE modify MYCOLUNM drop identity;
我尝试了一些这样的(没有成功)
databaseChangeLog:
- changeSet:
...
changes:
- modifyDataType:
columnName: MYCOLUNM
newDataType: number(9)
autoIncrement: false
tableName: MYTABLE
没有错误并且自动增量仍然存在。 结果是:
Liquibase 命令 \'update\' 已成功执行。