I just discovered, to my horror, that WordPress does not employ foreign key integrity constraints. Is there a SQL script or plugin that will change this? My installation uses the InnoDB engine as a default, so the WordPress tables are all InnoDB (unless there is an explicit override somewhere in the DDL scripts). It never occurred to me to look at this because I thought all serious database developers just use foreign keys as a basic good practice.
- The topic ‘Integrity Constraints’ is closed to new replies.