GeotrekCE / Geotrek-admin

Paths management for National Parks and Tourism organizations
https://geotrek.fr
BSD 2-Clause "Simplified" License
130 stars 75 forks source link

geom_3d in interventions table ? #1285

Open camillemonchicourt opened 9 years ago

camillemonchicourt commented 9 years ago

Why is there a geom_3d in m_t_intervention while it is already in e_t_evenement ?

Also in m_t_intervention, the relation with e_t_evenement is now the column topology_id while it is called "evenement" in other tables (such as o_t_itineraire, f_t_foncier). It can be renamed topology_id or evenement_id (maybe better as the table is title e_t_evenement, sorry for the French...) but it should be the same everywhere.

leplatrem commented 9 years ago

The relation between topology and intervention was not designed the same way as others... I guess it's because an intervention can refer an existing topology, which is different from the inheritance of other topology classes.

I agree there might some refactoring to undertake here...

camillemonchicourt commented 9 years ago

OK I understand !

camillemonchicourt commented 9 years ago

Quand cette modification sera faite, il faudrait certainement adapter la VUE des interventions pour qu'elle continue à fonctionner.