Normalised photo table

This commit is contained in:
Deon George
2019-11-27 21:30:43 +11:00
parent bafc34b1c0
commit 8f093f50b7
6 changed files with 227 additions and 1 deletions

15
app/Models/Software.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Software extends Model
{
protected $fillable = ['name'];
public function model()
{
return $this->belongsTo(\App\Models\Model::class);
}
}