diff --git a/contrib/gn_module_validation/backend/gn_module_validation/migrations/9a4b4b6f8fe6_add_fct_auto_validation.py b/contrib/gn_module_validation/backend/gn_module_validation/migrations/9a4b4b6f8fe6_add_fct_auto_validation.py index 0fa9e66833..dfa0840f99 100644 --- a/contrib/gn_module_validation/backend/gn_module_validation/migrations/9a4b4b6f8fe6_add_fct_auto_validation.py +++ b/contrib/gn_module_validation/backend/gn_module_validation/migrations/9a4b4b6f8fe6_add_fct_auto_validation.py @@ -31,7 +31,7 @@ def upgrade(): validation_id_type int := ref_nomenclatures.get_id_nomenclature_type('STATUT_VALID'); --- Retrieve the neaw validation status's nomenclature id +-- Retrieve the new validation status's nomenclature id new_id_status_validation int := ( select tn.id_nomenclature from ref_nomenclatures.t_nomenclatures tn @@ -47,7 +47,7 @@ def upgrade(): and id_type = validation_id_type ); --- Retrieve the list of observation which are tagged with the old validation status +-- Retrieve the list of observations tagged with the old validation status list_uuid_obs_status_updatable uuid [] := ( select array_agg(vlv.uuid_attached_row) from gn_commons.v_latest_validation vlv