Added FK support (mysql only now)