fix ringkasanbackup
This commit is contained in:
@@ -9,9 +9,11 @@ class RingkasanTebus extends Model
|
||||
{
|
||||
protected $table = 'ringkasan_tebus';
|
||||
|
||||
protected $primaryKey = 'teb_id';
|
||||
|
||||
public function main(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(RingkasanMain::class);
|
||||
return $this->belongsTo(RingkasanMain::class, 'teb_id', 'teb_id');
|
||||
}
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
Reference in New Issue
Block a user