like method

bool like(
  1. TableDefinition other
)

Implementation

bool like(TableDefinition other) {
  var diff = generateTableMigration(this, other, []);
  return diff != null &&
      diff.isEmpty &&
      other.name == name &&
      other.schema == schema;
}