New file |
0,0 → 1,11 |
-- date d'observation dans le futur |
UPDATE cel_obs SET date_observation = NULL WHERE date_observation > now(); |
-- cleanup |
UPDATE cel_obs SET date_observation = NULL WHERE date_observation = '0000-00-00 00:00:00'; |
-- cleanup |
UPDATE cel_obs SET latitude = NULL, longitude = NULL WHERE longitude = 0 and latitude = 0; |
|
-- referentiels: 65800 NULL, 13000 '' |
UPDATE cel_obs SET nom_referentiel = SUBSTRING_INDEX(nom_referentiel, ':', 1); |
UPDATE cel_obs SET nom_referentiel = 'bdtfx' WHERE nom_referentiel IN ('bdtfx_v1','bdnff'); |
-- TODO: UPDATE cel_obs SET nom_referentiel = NULL where nom_referentiel = ''; |