- add SolrIndexBuilder artisan command

- Sitelinkcontroller: data filter via raw sql
- primary key for HasValue model
- config/solarium.php new config values
- bug on migration fie for document_xml_cache
This commit is contained in:
Arno Kaimbacher 2019-09-06 16:35:43 +02:00
parent 54edfb4617
commit 084a1a2b8c
7 changed files with 174 additions and 63 deletions

View file

@ -10,6 +10,9 @@ class HashValue extends Model
protected $table = 'file_hashvalues';
public $timestamps = false;
protected $primaryKey = ['file_id', 'type'];
public $incrementing = false;
public function file()
{
return $this->belongsTo(File::class, 'file_id', 'id');