When performing an insert query (the "create" model action), we now explicitly emit DEFAULT as the value for fields which have not been set. This ensures that when creating an array of models, the column count for each individual model is the same even if not all fields are set on each one, avoiding a fatal error.
These changes are now available in 1.47.1
When performing an insert query (the "create" model action), we now explicitly emit
DEFAULT
as the value for fields which have not been set. This ensures that when creating an array of models, the column count for each individual model is the same even if not all fields are set on each one, avoiding a fatal error.Fixes #594.