'integer', 'created_by' => 'integer', 'updated_by' => 'integer', 'details' => 'array' ]; /** * Related file_list records */ public function fileLists() { return $this->hasMany(FileList::class, 'contentuid'); } public function creator() { return $this->belongsTo(User::class, 'created_by'); } public function updater() { return $this->belongsTo(User::class, 'updated_by'); } }