support foreign keys in sql