primaryKeyTypes function

Map<String, dynamic> primaryKeyTypes()

Implementation

Map<String, dynamic> primaryKeyTypes() {
  final types = <String, dynamic>{};
  types['default'] = PrimaryKeyType.integer_auto_incremental;
  for (var typ in PrimaryKeyType.values) {
    types[typ.toString().substring(typ.toString().indexOf('.') + 1)] = typ;
  }
  return types;
}