integer method

SchemaUtils integer(
  1. String name
)

Add an integer column

Creates an integer column with optional constraints. Returns a SchemaUtils instance for adding constraints.

Implementation

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