added primary keys to all models

This commit is contained in:
2021-03-10 23:29:30 +09:00
parent 91bde37441
commit 4db6dac439
35 changed files with 197 additions and 19 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ class SrpPayout extends Model
];
public function shipType() {
return $this->belongsTo(SrpShipType::class);
return $this->belongsTo(SrpShipType::class, 'code', 'code');
}
}