Use the metadata.properties
file to specify behavior during packaging.
...
Property | Values | Description | ||||||||||||
disablePropertySubstitution | true | false | Turns off interpretation of properties set in the changelog. See Setting Properties in the Project Changelog. | ||||||||||||
disableSqlParser | true | false | Overrides the project option
| ||||||||||||
labels | labelName[,labelName...] | One or more labels that identify this set of changes so they can be easily identified and deployed as a group. Multiple values must be separated by commas. No expressions are allowed. | ||||||||||||
contexts | contextName[,contextName...] | One or more context names to associate a changes with specified environments. Multiple values must be separated by commas. No expressions are allowed. | ||||||||||||
allowRepackaging | true | false | Deprecated starting with Datical DB v4.37. Use rerunnable instead. Starting with Datical DB v4.21, this property controls whether you can reuse a filename. The default value is false. | ||||||||||||
archive | true | false | Deprecated starting with Datical DB v4.37. Use rerunnable instead. Starting with Datical DB v4.21, this property controls whether files in the data_dml directory get copied to the archive directory. The default value is true. | ||||||||||||
rerunnable | true | false | Starting with Datical DB v4.37, use this property to classify SQL scripts as rerunnable (true) or non-rerunnable (false). Use it in place of the archive and allowRepackaging properties.
Stored logic scripts are usually rerunnable as they perform CREATE OR REPLACE operations and can therefore be run multiple times and produce the same result (they are idempotent). Set rerunnable to true or false.
If not set, the value is assigned based on its type (the folder where it is placed in SCM):
Important: although the use of archive and allowRepackaging are allowed, they are deprecated. In addition, the following combinations of settings now cause an error during packaging:
See also Flexible Folder Names. When you use flexible folder names it is important to specify | ||||||||||||
packageMethod | convert | | Starting with Datical DB v5.0, specifies how to package the file, one of Use the | ||||||||||||
ignore | true | false | Do not process files in this directory and all subdirectories. See Flexible Folder Names. | ||||||||||||
schemaName | Schema name or comma-separated list of schema names. Use either a literal value or a property. (If using a property, it must exist in the changelog, see Setting Properties in the Project Changelog). If you use fully-qualified object names in SQL scripts, the schema names in the SQL scripts must match the schema names in the project. Packager returns an error if it encounters a schema reference that is not defined in the project. For multi-database projects set, schemaName in the form
| |||||||||||||
ssisPkgName | filename | Name of an SSIS package file, including extension (.dtsv) | ||||||||||||
ssisConfig | filename | Name of an SSIS configuration file, including extension (.dtsConfig) | ||||||||||||
ssisDestPath | path | Destination directory under SSISDB in the SQL Server database. | ||||||||||||
ssisDestType | SQL | How deployed SSIS files are stored on the destination SQL Server. Default is SQL - store the files in the SQL Server database on the destination server. | ||||||||||||
ssisPkgName | name | Name of an SSIS package file (.dtsx). | ||||||||||||
ssisProjectName | name | Name of anSSIS project file (.ispac). | ||||||||||||
ssisSupportFileDestPath | network-path | Windows shared drive destination for support files that accompany an SSIS package file (.dtsx). (example: | ||||||||||||
versionStrategy | deployAll | deployLatest | Starting with Datical DB v4.31, sSpecifies how to deploy existing versions of rerunnable changesets if multiple versions are available to deploy. Values are not case-sensitive.
If versionStrategy is set to any other value, processing stops with an error. A changeset is eligible to deploy if it meets criteria set in the deploy operation (label expression). | ||||||||||||
folderOrder | Comma-separated list of folders | Specified only in the metadata.properties file at the top of the SQL code tree. That directory must be the one specifed by the sqlScmSQLBaseDirproperty in the Provide a list of directories, in the order you want them packaged. Files from these directories are pulled to the front of the packaging order in front of any other folders in the packaging job. See Custom Packaging Order. |
...