int static method
Implementation
static AddColumn<core.int> int(String name,
{core.bool isNullable = false,
core.bool autoIncrement = false,
core.bool primary = false,
String? foreignTable,
String? foreignCol,
String? uniqueGroup}) {
Foreign? foreign;
if (foreignTable != null) {
foreign = Foreign(foreignTable, foreignCol != null ? foreignCol : name);
}
return AddColumn(CreateInt(
name,
isNullable: isNullable,
autoIncrement: autoIncrement,
isPrimary: primary,
foreignKey: foreign,
uniqueGroup: uniqueGroup,
));
}