Liquibase Enterprise was formerly known as Datical DB.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Deploying changes to a step in the release pipeline applies the changes to the database at that step.  

Overriding Project Options

You can override project settings by specifying different options, either in a GUI dialog or by specifying options on the CLI. 

Deploy Using the GUI

You can deploy directly or deploy with options. 

Deploy Only

  1. Open the project in the GUI
  2. Click the Plan tab. 
  3. Click Deploy.

Deploy with Options

A dialog presents options to override. 

  1. Open the project in the GUI
  2. Click the Plan tab. 
  3. Click Deploy with Options 
  4. In Deploy Options, specify additional options, then click Finish
OptionDefaultDescription
  • Use Contexts
None - no contexts are specified for deployment. List of contexts to use. Use $all to specify all contexts configured on the project.
  • Use Labels
None - no labels are specified for deployment.List of labels to use. Use $all to specify all labels configured on the project. 
Deployment Mode
  • Full Deploy
  • Quick Deploy
Full Deploy

Full Deploy includes a forecast (rules and change simulation).

Quick Deploy deploys changesets without a forecast.

SQL Generation
  • Generate Deploy SQL Script
FalseGenerate and save the SQL script used to deploy these changes. 
  • Generate Rollback SQL Script for this Deployment
FalseGenerate and save the SQL script to use to roll back these changes. 
Collect Row Counts During Forecast and Deploy
  • Exact  
False

Collect accurate row counts using table scan. This method may be time consuming for large tables

  • Approximate
False

Collect estimated row counts using statistics. Uses database statistics as the source of information. You need to make sure the statistics are available and updated. The time saved varies, but can be significant for very large tables.

See /wiki/spaces/DDOC59/pages/795673750

  • DIsabled
TrueDo not collect row counts.
Limited Forecast
  • Limit
False

If set to true, limit forecasting to only those objects affected by the changes. Otherwise profile all objects in the target database schema.

Note that some forecast and post-forecast rules may be skipped when this is true.

See also /wiki/spaces/D19Q2/pages/826937509.

Deploy Using the CLI

To run a deployment, use the deploy command. See the deploy command listing in /wiki/spaces/DDOC59/pages/795771831 for the options you can specify.

The command requires a step argument. The example uses Dev

hammer deploy Dev

Deploy Results

Deploy reports are placed in datical/<project>/Reports, sorted by date. 

See /wiki/spaces/DDOC59/pages/795673737.



  • No labels