notNull method

SchemaUtils notNull()

Add NOT NULL constraint

Makes the column required (cannot contain NULL values).

Implementation

SchemaUtils notNull() {
  _constraints.add("NOT NULL");
  return this;
}