Hello Rashida,
first of all, thank you for your explanation.
but I think if something works sometimes and doesn't work sometimes, it's usually worth a closer look. Since SQL is a standardized query language, every database should (theoretically) behave the same when it comes to simple database types.
Have therefore looked in the setup of the SPPB in the file install.mysql.utf8.sql to see how the SQL command for the 'ordering'column is defined. Looks like this:
'ordering' int(11) NOT NULL DEFAULT '0',
It seems to me that the default value in quotation mark '0' could be a problem, because actually numeric values are not set in quotation mark. This is confirmed by a SQL export of the database from phpMyAdmin. There the default value for the 'ordering'column is not output in quotes:
'ordering' int(11) NOT NULL DEFAULT 0,
So I think, give my answer to one of your engineers for insight with the advice not to put defaults for numeric columns in quotation marks.
And try it yourself, do a SQL export of the SPPB database on one of your test installations and compare it with the setup script.
Best regards
Ernst