añadido crd para Song y transladada la logica de /gallery a un controller
This commit is contained in:
@@ -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>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user