Hello guys,
while upgrading from 17.0.1.10.1 to 18.0.10.2 the following error message occured.
For context:
Occured error: "InvalidArgumentException: Column name \"iqmUw_flow_operations\".\"entity\" is NotNull, but has empty string or null as default."
It happens here:
|
throw new \InvalidArgumentException('Column name "' . $table->getName() . '"."' . $thing->getName() . '" is NotNull, but has empty string or null as default.'); |
After a look in the source code i found that the real reason for this error is a missing column not else.
I think it would be a good improvement to change this message to:
Column <column> with <type> in <table> not found
I was able to solve my mistake on my own, but it would certainly be helpful for the future if the message were more meaningful.
Thanks.
Marco
Hello guys,
while upgrading from 17.0.1.10.1 to 18.0.10.2 the following error message occured.
For context:
Occured error: "InvalidArgumentException: Column name \"iqmUw_flow_operations\".\"entity\" is NotNull, but has empty string or null as default."It happens here:
server/lib/private/DB/MigrationService.php
Line 519 in 35be4fd
After a look in the source code i found that the real reason for this error is a missing column not else.
I think it would be a good improvement to change this message to:
Column <column> with <type> in <table> not foundI was able to solve my mistake on my own, but it would certainly be helpful for the future if the message were more meaningful.
Thanks.
Marco