añadido crd para Song y transladada la logica de /gallery a un controller

This commit is contained in:
2025-03-27 00:10:40 -03:00
parent c8d64406f5
commit 55b130edad
19 changed files with 464 additions and 80 deletions

View File

@@ -8,7 +8,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Song extends Model
{
//
protected $fillable = ["title", 'artist', 'cover', 'user_id'];
protected $fillable = ["title", 'artist', 'cover', 'user_id', 'path'];
/**
* @return BelongsTo<User,Song>
*/