mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 13:50:28 +05:30
Add index for playlist owner. (#240)
This commit is contained in:
parent
f08c6c4ebf
commit
561a4f44e1
@ -7,7 +7,7 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
@Entity
|
||||
@Table(name = "playlists", indexes = {@Index(columnList = "playlist_id", name = "playlists_playlist_id_idx")})
|
||||
@Table(name = "playlists", indexes = {@Index(columnList = "playlist_id", name = "playlists_playlist_id_idx"), @Index(columnList = "owner", name = "playlists_owner_idx")})
|
||||
public class Playlist {
|
||||
|
||||
public Playlist() {
|
||||
|
Loading…
Reference in New Issue
Block a user