Use foreign keys for relations tables [applied]