mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
#86: This causes some issue with Postgres. Commenting for now
This commit is contained in:
parent
ccb05bb958
commit
7b521f5733
1 changed files with 3 additions and 3 deletions
|
@ -203,8 +203,8 @@ class Playlist extends Model implements Searchable, Commentable, Favouritable
|
||||||
return $this
|
return $this
|
||||||
->belongsToMany(Track::class)
|
->belongsToMany(Track::class)
|
||||||
->withPivot('position')
|
->withPivot('position')
|
||||||
->withTimestamps()
|
->withTimestamps();
|
||||||
->orderBy('position', 'asc');
|
//->orderBy('position', 'asc');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function trackFiles()
|
public function trackFiles()
|
||||||
|
@ -227,7 +227,7 @@ class Playlist extends Model implements Searchable, Commentable, Favouritable
|
||||||
{
|
{
|
||||||
return $this->hasMany(PinnedPlaylist::class);
|
return $this->hasMany(PinnedPlaylist::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function favourites():HasMany {
|
public function favourites():HasMany {
|
||||||
return $this->hasMany(Favourite::class);
|
return $this->hasMany(Favourite::class);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue