Hi @Bassam_Mamdouh,
An interesting snag you and @eitadmin have - you must id records where is_custom is null.
My query of the tables found no is_custom field - all such 0 or 1 values are stored in each doctype ‘model’ .json file, about 21 doctypes or so.
One way to id your db insert fail is to turn on sql logging as this notes Setting site log level? - #3 by jvermette
I have not done this myself - sql output appears in your js console?
Sorry to ping you @vjFaLk, perhaps you have advice from this similar case?
Error while making bench migrate - #5 by Hadzhi
Here’s another unresolved case Bench update 7.2.27 error - #11 by ci2016
edit: This is the sql I used to search for the is_custom column name…
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA=‘d56cb677eaab3383’
AND TABLE_NAMElike’tab%';