boolean method

SchemaUtils boolean(
  1. String name
)

Add a boolean column

Creates an integer column that stores boolean values (0 or 1). Returns a SchemaUtils instance for adding constraints.

Implementation

SchemaUtils boolean(String name) {
  final column = integer(name);
  _columns[name] = column;
  return column;
}