插入到 databasechangelog_export 时,Liquibase genschema 因唯一约束而失败

时间:2021-05-06 14:09:51

标签: oracle

我是 liquibase 和 DB 源控制的新手。我试图运行 genschema 命令来为我的基本模式生成初始文件(以前从未运行过这个工具),当 liquibase 过程试图插入到 liquibase 表中时,我得到了一个独特的约束。有没有人见过这个?我有一个大约 20 岁的大架构。

连接到: Oracle Database 19c 标准版 2 发行版 19.0.0.0.0 - 生产 版本 19.4.0.0.0

SQL> lb genschema
[Method loadCaptureTable]:
                 Executing
[Type - TYPE_SPEC]:                         1089 ms
[Type - TYPE_BODY]:                          203 ms
[Type - SEQUENCE]:                           336 ms
[Type - DIRECTORY]:                           36 ms
[Type - CLUSTER]:                           2187 ms
[Type - TABLE]:                            63056 ms
[Type - MATERIALIZED_VIEW_LOG]:               31 ms
[Type - MATERIALIZED_VIEW]:                   56 ms
[Type - VIEW]:                              2846 ms
[Type - REF_CONSTRAINT]:                   20798 ms
[Type - DIMENSION]:                           29 ms
[Type - FUNCTION]:                           430 ms
[Type - PROCEDURE]:                          124 ms
[Type - PACKAGE_SPEC]:                       639 ms
[Type - DB_LINK]:                             51 ms
[Type - SYNONYM]:                             55 ms
[Type - INDEX]:                             6052 ms
[Type - TRIGGER]:                          11961 ms
[Type - PACKAGE_BODY]:                      9851 ms
[Type - JOB]:                                 81 ms
                 End
[Method loadCaptureTable]:                119911 ms
[Method processCaptureTable]:            1351713 ms
[Method sortCaptureTable]:

Export Flags Used:

Export Grants           false
Export Synonyms         false
Processing has failed for your request.
ORA-00001: unique constraint (SCHEMAOWNER.DATABASECHANGELOG_EXPORT_PK) violated
ORA-06512: at "SCHEMAOWNER.SQLCL_LB_CAPTURE", line 205

0 个答案:

没有答案
相关问题