fix: Avoid including constraints from a different constraint_schema
when learning from a database
#4878
Loading
constraint_schema
when learning from a database
#4878