restore referential integrity for restaurant and environment