Gerard Arall
Gerard Arall
``` [ErrorException] Invalid argument supplied for foreach() Exception trace: () at /migrations-generator/src/Xethron/MigrationsGenerator/MigrateGenerateCommand.php:343 ```
Thanks @rjacobsen2012 , issue fixed. However, I can see some foreign relations of tables that doesn't exist yet.
It can be fixed with this style: ``` css .popover.clockpicker-popover{ z-index: 1050; } ```
If it helps, this is what the Nova controller does when attaching a model into a morphedByMany relationship. ```php ($pivot = $relationship->newPivot())->forceFill([ $relationship->getForeignPivotKeyName() => $request->resourceId, $relationship->getRelatedPivotKeyName() => $request->input($request->relatedResource), $relationship->getMorphType() =>...
Maybe we can implement an adaptor or a Nova component for doing that without messing with this repo? But I have no much clue of how to do it...
@chelout I might be able to provide you a license. If you're interested, could you reach me on Telegram? I'm using the same username as in here. Or email (my...
Any updates on this?
I did a proof of concept using Laravel native Pivot models events and works fine with Nova: https://github.com/arall/laravel-relationhip-events
Would be something like: ``` cv2.rectangle(img, (int(bbox[i][0]), int(bbox[i][1])), (int(bbox[i][2]), int(bbox[i][3])), (0, 200, 0), 2) ```