modifyInt method

Alter modifyInt(
  1. String name, {
  2. bool isNullable = false,
  3. bool autoIncrement = false,
  4. bool primary = false,
  5. String? foreignTable,
  6. String? foreignCol,
  7. String? uniqueGroup,
})

Implementation

Alter modifyInt(String name,
    {core.bool isNullable = false,
    core.bool autoIncrement = false,
    core.bool primary = false,
    String? foreignTable,
    String? foreignCol,
    String? uniqueGroup}) {
  final cl = ModifyColumn.int(name,
      isNullable: isNullable,
      autoIncrement: autoIncrement,
      primary: primary,
      foreignTable: foreignTable,
      foreignCol: foreignCol,
      uniqueGroup: uniqueGroup);
  mods[name] = cl;
  return this;
}