Initializer
init(_:dataType:constraints:)
Create a new columm definition from a name, data type, and zero or more constraints.
init(_ name: String, dataType: SQLDataType, constraints: [SQLColumnConstraintAlgorithm] = [])
Parameters
nameThe column name to create or alter.
dataTypeThe desired data type of the column.
constraintsThe constraints to apply to the column, if any.