Fix FK constraint when schema or exotic object name

I also added "ON UPDATE" and "ON DELETE" informations.