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