apecloud/ape-dts

check if information_schema.check_constraints exists before migrating check constraints

qianyiwen2019 opened this issue · 1 comments

The information_schema.check_constraints should be used to determine whether to migrate check_constraints, rather than based on whether the version is 5.* or 8.*.
Because some databases, such as PolarDB 8.0 and PolarX, still have a metadata database that is 5.7 and do not have the information_schema.check_constraints table.