This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant destroy && vagrant up | |
homestead: Are you sure you want to destroy the 'homestead' VM? [y/N] y | |
==> homestead: Destroying VM and associated drives... | |
==> homestead: Pruning invalid NFS exports. Administrator privileges will be required... | |
Bringing machine 'homestead' up with 'virtualbox' provider... | |
==> homestead: Importing base box 'laravel/homestead'... | |
==> homestead: Matching MAC address for NAT networking... | |
==> homestead: Checking if box 'laravel/homestead' version '11.1.0' is up to date... | |
==> homestead: Setting the name of the VM: homestead | |
==> homestead: Clearing any previously set network interfaces... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function user() | |
{ | |
return $this->belongsTo('App\Models\User'); | |
} | |
public function projects() | |
{ | |
return $this->hasMany('App\Models\Project'); | |
} |