uff muchas cosas, agrege projecto y setup

This commit is contained in:
Daniel Cortés
2019-10-14 22:59:22 -03:00
parent 45a441bb2c
commit a7929c0097
36 changed files with 334 additions and 147 deletions

View File

@@ -7,9 +7,4 @@ use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
protected $table = 'projects';
public function photos()
{
return $this->hasMany('App\ProjectPhoto');
}
}