Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Liquibase Enterprise will throw throws failures and warnings for the following conditions in both the Packager and Forecast operations:

  • CreateIndexType -- Using the tablespace that doesn't exist check (Failure)

  • Forecast: CreateTableType -- Using the tablespace that doesn't exist check (Failure)

  • Warning: ModifyDataType statement with non-null value in column (Warning)

If you wish to turn off disable any of these warnings, this can be done by adding internal rules, add an entry in the daticaldb.properties file.

Note

This functionality is available in Liquibase Enterprise versions 8.8+.

Instructions

  1. In the DDB project repo, either add or modify a file called daticaldb.properties in the root directory.

  2. The daticaldb.properties file may be included in your .gitignore file. If so, you you will need to remove this change from .gitignore so that any changes to this file can be saved to the project.

  3. Add a property in this file called internalRules.disabledDefaultRules

  4. Valid values for this property include:

    • MODIFY_DATA_TYPE_CHECKER

    • CREATE_INDEX_CHECK_TABLESPACE_CHECKER

    • CREATE_TABLE_CHECK_TABLESPACE_CHECKER

  5. Add any values to the string for the warnings Forecast items you would like wish to disable. Values are comma-separated. Example:

    Code Block
    internalRules.disabledDefaultRules=MODIFY_DATA_TYPE_CHECKER,CREATE_INDEX_CHECK_TABLESPACE_CHECKER,CREATE_TABLE_CHECK_TABLESPACE_CHECKER
  6. Check-in the changes to Git for your DDB project repo.

  7. Run Packager to see the changes reflected for that operation and to update any artifacts to be used by Forecast.

Warning

Turning off the CREATE_INDEX_CHECK_TABLESPACE_CHECKER and CREATE_TABLE_CHECK_TABLESPACE_CHECKER rules will only bypass Forecast Rules. These particular scenarios may throw database errors later in the pipeline.