mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Add index for playlist owner. (#240)
This commit is contained in:
parent
f08c6c4ebf
commit
561a4f44e1
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
@Entity
|
@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 class Playlist {
|
||||||
|
|
||||||
public Playlist() {
|
public Playlist() {
|
||||||
|
|
Loading…
Reference in a new issue