помогите разобраться как работает эта хренотень с fileupload в builder, значит добавил в модель
public $attachMany = [
'fileupload1' => 'System\Models\File' ];
Добавил это поле в базу данных. Загрузил картинки, теперь делаю дамп и вижу
Worker {#2582 ▼
+timestamps: false
+table: "zanoza_stomatolog_workers"
+rules: []
+attachMany: array:1 [▼
"fileupload1" => "System\Models\File"
]
+implement: null
+attributes: array:7 [▶️]
#jsonable: []
#dates: []
+duplicateCache: true
#connection: "mysql"
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#withCount: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#original: array:7 [▶️]
#changes: []
#casts: []
#dateFormat: null
#appends: []
#dispatchesEvents: []
#observables: []
#relations: []
#touches: []
#hidden: []
#visible: []
#fillable: []
#guarded: array:1 [▶️]
+hasMany: []
+hasOne: []
+belongsTo: []
+belongsToMany: []
+morphTo: []
+morphOne: []
+morphMany: []
+morphToMany: []
+morphedByMany: []
+attachOne: []
+hasManyThrough: []
#emitterSingleEventCollection: []
#emitterEventCollection: array:1 [▶️]
#emitterEventSorted: []
#extensionData: array:4 [▶️]
+sessionKey: null
#validationErrors: null
#validationDefaultAttrNames: []
}