You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1st problem is with the "store_id" field definition:
[Wn\Generators\Exceptions\ArgumentParserException]
Required field missing: 3 given (store_id;integer:nullable;required) but 4
required (name;schema;rules;tags)
when I remove the "rules: required numeric" from "store_id" it works fine, but:
2nd the definition of the field which has already been indirectly defined by relation "belongsTo: gives the duplicate field definition in the migration and the model:
1st problem is with the "store_id" field definition:
when I remove the "rules: required numeric" from "store_id" it works fine, but:
2nd the definition of the field which has already been indirectly defined by relation "belongsTo: gives the duplicate field definition in the migration and the model:
the correct result should be:
$table->integer('store_id')->unsigned()->nullable();
...as it should be possible to define additional properties of the field being used as a FK (like making it nullable for instance)
The text was updated successfully, but these errors were encountered: