surface method

SchemaUtils surface(
  1. String name
)

Add a surface column

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

Implementation

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