generateName static method

String generateName(
  1. List<String> columns,
  2. String onTable
)

Implementation

static String generateName(List<String> columns, String onTable) {
  final columnNames = columns.join('_');
  return ['index', onTable, 'on', columnNames].join('_');
}