From bc7de4a69354e9ab43b7e3aec1c6d20f88aa8f46 Mon Sep 17 00:00:00 2001 From: vgreb Date: Tue, 6 Oct 2026 10:21:34 +0200 Subject: [PATCH] cotisation: migration de vieilles valeurs de type_reglement en bdd --- ...0261006090000_fix_cotisations_type_reglement.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 db/migrations/20261006090000_fix_cotisations_type_reglement.php diff --git a/db/migrations/20261006090000_fix_cotisations_type_reglement.php b/db/migrations/20261006090000_fix_cotisations_type_reglement.php new file mode 100644 index 000000000..9545e25ed --- /dev/null +++ b/db/migrations/20261006090000_fix_cotisations_type_reglement.php @@ -0,0 +1,13 @@ +execute('UPDATE afup_cotisations SET type_reglement = 3 WHERE type_reglement NOT IN (0, 1, 2, 3, 4)'); + } +}