如何覆盖 SQLcl Liquibase 中的输出文件?

问题描述 投票:0回答:1

我正在学习 Liquibase,像这样导出 Oracle Apex 应用程序:

PS D:\projects\RDNA2\db\rdna2-apex> sql rdna2@rdna2
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8


SQLcl: Release 23.2 Production on Fri Sep 22 10:50:12 2023

Copyright (c) 1982, 2023, Oracle.  All rights reserved.   

Password? (**********?) ******
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.20.0.0.0

SQL> lb generate-apex-object -applicationid 200 -split

它生成文件就好了。但下次我这样做时,它会创建新文件。我找到了 Liquibase 的

--overwrite-output-file
参数,但它在 SQLcl 版本中不起作用。

oracle-apex liquibase sqlcl
1个回答
0
投票

我们不支持该选项,您需要从空目录开始。

我们已将该请求记录为增强功能,但我不明白为什么我们无法启用该行为。

© www.soinside.com 2019 - 2024. All rights reserved.