private function databasePut() {
    $media = [
      'filename' => $this->directory_uri . $this->filename_new,
      'mime' => $this->file->getMimeType(),
      'size' => $this->file->getSize(),
      'title' => $this->getTitle(),
      'alt' => $this->getAlt(),
      'name' => $this->getName(),
      'group' => $this->group,
      'status' => TRUE,
      'weight' => $this->getWeight(),
    ];

    $model = config('media.config.model');
    return $this->media()->save(new $model($media));
  }