Oracle comparison options
Published 29 July 2021
In v5, Redgate Change Control has been renamed to Flyway Desktop. Check out the latest documentation at https://documentation.red-gate.com/fd
The way the changes are captured in the schema model and migration scripts can be configured using the Schema Compare for Oracle options.
These can be configured in the project settings file under capabilities.comparison.options, using the option name as the key:
"capabilities": { "comparison": { "ignoreRules": "./IgnoreRules.scpf", "filter": "./Filter.scpf", "options": { "ExcludeTargetSchemaName": true } } }
It is also possible to read a SQL Source Control for Oracle options file with the capabilities.comparison.optionsFile setting:
"capabilities": { "comparison": { "ignoreRules": "./IgnoreRules.scpf", "filter": "./Filter.scpf", "optionsFile": "./schema-model/ComparisonOptions.xml" } }
Default options
- Ignore Permissions - this is set to true because Redgate Change Control is generating migration scripts to ultimately deploy to production, and it is unlikely that development permissions should be deployed to production.
Hard-coded options
The following options are hard-coded and cannot be altered:
Option name | Option value |
---|---|
IncludeScriptHeader | false |
IgnoreCheckingSchemaExists | true |
IncludeIfExistsCheckingOnDrop | true |