structureChanged method

bool structureChanged(
  1. NUIDBFieldTracker tracker
)

Implementation

bool structureChanged(NUIDBFieldTracker tracker){
  final samePrimaryKey = (tracker.primaryKey ?? false) == (primaryKey ?? false);
  final sameType = match(tracker.type, type.value());
  final sameName = match(tracker.name, name);
  return !samePrimaryKey || !sameName || !sameType;
}