custom method

SchemaUtils custom(
  1. String name,
  2. String sqlType
)

Add a custom column

Creates a column with a custom SQL type definition. Returns a SchemaUtils instance for adding constraints.

Implementation

SchemaUtils custom(String name, String sqlType) {
  final column = SchemaUtils(" $name $sqlType ");
  _columns[name] = column;
  return column;
}