I've investigated a bit and noticed several things:
- looks like doctrine does not (officially?) support setting of default options in the annotation. It is recommended to use the instance default ($rootOrder = 0).
- in the comparator class the Column->getDefault() is compared, but I found out that in one table (I guess the one from mysql) the default is set directly, in the other one (I guess the doctrine one generated from the annotations) the default is empty but the customSchemaOptions["default"] is set.
So based on this I would say:
- the $column->getDefault needs to be checked against the other $column->getCustomSchemaOption("default") and vice versa
Please correct me if I'm wrong