/home2/mshostin/carnival.ms-hostingladz.com/app/Models/GalleryAlbum.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class GalleryAlbum extends Model
{
    use HasFactory;

    protected $fillable = [
        'user_id',
        'title',
        'description',
    ];

    public function images()
    {
        return $this->hasMany(SiteGallery::class, 'album', 'id');
    }
    public function user()
    {
        return $this->belongsTo(User::class,'user_id','id');
    }
}