The TABLE_CONSTRAINTS table describes
      which tables have constraints.
    
      The TABLE_CONSTRAINTS table has these
      columns:
- CONSTRAINT_CATALOG- The name of the catalog to which the constraint belongs. This value is always - def.
- CONSTRAINT_SCHEMA- The name of the schema (database) to which the constraint belongs. 
- CONSTRAINT_NAME- The name of the constraint. 
- TABLE_SCHEMA- The name of the schema (database) to which the table belongs. 
- TABLE_NAME- The name of the table. 
- CONSTRAINT_TYPE- The type of constraint. The value can be - UNIQUE,- PRIMARY KEY,- FOREIGN KEYor- CHECK. This is a- CHAR(not- ENUM) column.- The - UNIQUEand- PRIMARY KEYinformation is about the same as what you get from the- Key_namecolumn in the output from- SHOW INDEXwhen the- Non_uniquecolumn is- 0.
- ENFORCED- For - CHECKconstraints, the value is- YESor- NOto indicate whether the constraint is enforced. For other constraints, the value is always- YES.