Red Gate Oracle Schema 比较 v3 和 v4 不解释 UserObjectPrivileges
Red Gate Oracle Schema Compare v3 to v4 doesn't interpret UserObjectPrivileges
我正在使用 Red Gate Oracle Schema Compare 版本 3 为我们的数据库生成迁移脚本。
但是,在升级到版本 4 时,与 Scripts 文件夹的架构比较无法成功解释 UserObjectPrivileges。它生成 REVOKES。
我该如何解决这个问题?
这可能是相关的,但 Red Gate Oracle Schema Compare 版本 4 也检测到 "objects that exist in both but are different" 在版本 3 导出到文件系统的文件和版本 4 导出到文件系统的文件之间,即使我已经在 Notepad++ 中比较它们并使用命令行 fc /b(二进制比较)没有检测到差异。我什至复制并粘贴了一个,但它们仍然被视为 "objects that exist in both but are different".
我问了红门支持,回复如下:
"It looks like these are intended changes. The differences you are seeing are caused by changes we have made in saving grants to the files (released in version 3.0.16). In this case it is not a bug - this is the intended action, because files now have to be rebuilt. If you wants to equal this you should deploy with these grants. After the first deploy, you should then change the comparison site and deploy again (if it shows any differences in grants again). After this actions object privileges should be compatible with the latest Schema Compare version."
我正在使用 Red Gate Oracle Schema Compare 版本 3 为我们的数据库生成迁移脚本。
但是,在升级到版本 4 时,与 Scripts 文件夹的架构比较无法成功解释 UserObjectPrivileges。它生成 REVOKES。
我该如何解决这个问题?
这可能是相关的,但 Red Gate Oracle Schema Compare 版本 4 也检测到 "objects that exist in both but are different" 在版本 3 导出到文件系统的文件和版本 4 导出到文件系统的文件之间,即使我已经在 Notepad++ 中比较它们并使用命令行 fc /b(二进制比较)没有检测到差异。我什至复制并粘贴了一个,但它们仍然被视为 "objects that exist in both but are different".
我问了红门支持,回复如下:
"It looks like these are intended changes. The differences you are seeing are caused by changes we have made in saving grants to the files (released in version 3.0.16). In this case it is not a bug - this is the intended action, because files now have to be rebuilt. If you wants to equal this you should deploy with these grants. After the first deploy, you should then change the comparison site and deploy again (if it shows any differences in grants again). After this actions object privileges should be compatible with the latest Schema Compare version."