You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the time of writing, it has been reported that we cannot create two distinct stations using the same address and different coordinates. As addresses could be sparse data, we should be more flexible on this and allow two stations to be referenced with the same address (e.g. street, zip code and city but no street number).
Proposal
remove the uniqueness constraint on the Localisation.adresse field,
add (pick one):
a unique-together constraint on the Localisation.(adresse, coordonneesXY) fields couple, or,
a unique constraint on the Localisation.coordonneesXY field
The text was updated successfully, but these errors were encountered:
Purpose
At the time of writing, it has been reported that we cannot create two distinct stations using the same address and different coordinates. As addresses could be sparse data, we should be more flexible on this and allow two stations to be referenced with the same address (e.g. street, zip code and city but no street number).
Proposal
Localisation.adresse
field,Localisation.(adresse, coordonneesXY)
fields couple, or,Localisation.coordonneesXY
fieldThe text was updated successfully, but these errors were encountered: