Migrator
decimal()
Signature
Section titled “Signature”decimal() — returns any
Available in: tabledefinition
Category: Table Definition Functions
Description
Section titled “Description”adds decimal columns to table definition
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
columnNames | string | no | — | |
default | string | no | — | |
null | boolean | no | — | |
precision | numeric | no | — | |
scale | numeric | no | — |