fix devops error

This commit is contained in:
ludo
2024-01-05 01:30:46 +01:00
parent 90b0af5b2d
commit 5144c1f7fd
128 changed files with 410 additions and 2580 deletions

View File

@@ -6,22 +6,22 @@ use Illuminate\Database\Eloquent\Model;
class UserStatusTeam extends Model
{
public $timestamps = false;
protected $connection = 'mysql';
protected $guarded = [];
protected $table = 'user_status_teams';
public $timestamps = false;
public function user_status()
{
return $this->belongsTo(\App\Models\Core\Auth\UserStatus::class);
return $this->belongsTo(UserStatus::class);
}
public function team()
{
return $this->belongsTo(\App\Models\Core\Auth\Team::class);
return $this->belongsTo(Team::class);
}
public function scopeByUserStatus($query, $id)