Created
May 24, 2018 02:24
-
-
Save jobcerto/9b5f8593f8378b3ea2173ac9a1585bc8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
namespace App\Customer\Models; | |
use Hyn\Tenancy\Traits\UsesTenantConnection; | |
use Illuminate\Database\Eloquent\Model; | |
class Post extends Model | |
{ | |
use UsesTenantConnection; | |
public function user() | |
{ | |
return $this->belongsTo(App\Customer\Models\User::class); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment