Skip to content

pacx column add double

github-actions[bot] edited this page Aug 10, 2026 · 2 revisions

Creates a double column.

Usage

This type of column is used for storing decimal numbers with a specified precision and range. In the maker UI, this column is shown as DataType=Float.

# Creates a simple double column with precision 2
pacx column add double -t tableName -n columnName

# Set precision and min/max values
pacx column add double -t tableName -n columnName --precision 4 --min 0 --max 999.99

Arguments

Long Name Short Name Required? Description Default value Valid values
table t Y The name of the entity for which you want to create an attribute - String
name n Y The display name of the attribute. - String
schemaName sn N The schema name of the attribute. If not specified, is deducted from the display name - String
description d N The description of the attribute. - String
requiredLevel r N The required level of the attribute. - None, SystemRequired, ApplicationRequired, Recommended
min min N For number type columns indicates the minimum value for the column. - Double
max max N For number type columns indicates the maximum value for the column. - Double
precision p N For money or decimal type columns indicates the precision for the column. 2 Int32
imeMode ime N Indicates the input method editor (IME) mode for the column. Disabled Auto, Inactive, Active, Disabled
audit a N Indicates whether the attribute is enabled for auditing (default: true). - true, false
solution s N The name of the unmanaged solution to which you want to add this attribute. - String