text method

SchemaUtils text(
  1. String name
)

Add a text column

Creates a text column for string data. Returns a SchemaUtils instance for adding constraints.

Implementation

SchemaUtils text(String name) {
  final column = SchemaUtils(" $name TEXT ");
  _columns[name] = column;
  return column;
}