From 1dbfd164bb4f08a8bb7c46e4c0518b554ce055bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 23 Feb 2024 15:27:00 +0100 Subject: [PATCH] Fix corrupted data --- htdocs/install/mysql/migration/19.0.0-20.0.0.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/install/mysql/migration/19.0.0-20.0.0.sql b/htdocs/install/mysql/migration/19.0.0-20.0.0.sql index d3bdc300ad4..9f5d1f13aa0 100644 --- a/htdocs/install/mysql/migration/19.0.0-20.0.0.sql +++ b/htdocs/install/mysql/migration/19.0.0-20.0.0.sql @@ -32,6 +32,11 @@ -- -- VPGSQL8.2 SELECT dol_util_rebuild_sequences(); +-- V18 forgotten + +UPDATE llx_paiement SET ref = rowid WHERE ref IS NULL OR ref = ''; + + -- V19 forgotten ALTER TABLE llx_resource ADD COLUMN phone varchar(255) DEFAULT NULL AFTER max_users;