Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

DeployDbArgs

Configuration arguments for DacPac deploy

Record Fields

Record FieldDescription
Action
Signature: DeployAction

Type of action to execute. Defaults to Deploy.

AdditionalSqlPackageProperties
Signature: (string * string) list

Additional configuration parameters required by sqlpackage.exe

BlockOnPossibleDataLoss
Signature: bool

Block deployment if data loss can occur. Defaults to true.

Destination
Signature: string

Path to destination (path to DACPAC or Connection String).

DropObjectsNotInSource
Signature: bool

Drops objects in the destination that do not exist in the source. Defaults to false.

RecreateDb
Signature: bool

Recreates the database from scratch on publish (rather than an in-place update). Defaults to false.

Source
Signature: string

Path to source (path to DACPAC or Connection String).

SqlPackageToolPath
Signature: string

The path to SqlPackage.exe.

Timeout
Signature: int

Timeout for deploy (defaults to 120 seconds).

Variables
Signature: (string * string) list

SQLCMD variables