File manager - Edit - /var/www/html/pcadigital/api/app/Models/Follower.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Follower extends Model { use HasFactory; protected $table = 'followers'; protected $fillable = [ 'name', 'auth_uuid' ]; public function occurrences(){ return $this->belongsToMany(Occurrence::class, 'occurrence_followers')->withTimestamps(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings