I have got 3 tables: lt_hdefaults, lt_hperiods and lt_hrules. In lt_hdefaults, there is one row for a property for a particul
lt_hdefaults
lt_hperiods
lt_hrules
ENGINE=MyISAM <-- MyISAM doesn't support any kind of foreign keys. Use InnoDB instead.
ENGINE=MyISAM