Cree las rutas para la creacion de projectos
This commit is contained in:
14
app/ProjectPhoto.php
Normal file
14
app/ProjectPhoto.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ProjectPhoto extends Model
|
||||
{
|
||||
protected $table = 'projects_photos';
|
||||
|
||||
public function project() {
|
||||
return $this->belongsTo('App\Project');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user