more seeders, drop-down for profile
This commit is contained in:
1 parent
3ccc525313
commit
a4a36087e4
6 files changed
+66
-3
No files matched your search
@@ -3,8 +3,14 @@
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use App\Models\Photoprofile;
|
||||
|
||||
class PhotoJob extends Model
|
||||
{
|
||||
protected $fillable = ['image_path', 'status'];
|
||||
protected $fillable = ['image_path', 'status', 'photoprofile_id'];
|
||||
|
||||
public function photoprofile()
|
||||
{
|
||||
return $this->belongsTo(Photoprofile::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user