mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Add index for video uploaded.
This commit is contained in:
parent
e629121c25
commit
0d3b167e8a
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ import javax.persistence.Table;
|
|||
|
||||
@Entity
|
||||
@Table(name = "videos", indexes = { @Index(columnList = "id", name = "videos_id_idx"),
|
||||
@Index(columnList = "uploader_id", name = "video_uploader_id_idx") })
|
||||
@Index(columnList = "uploader_id", name = "video_uploader_id_idx"),
|
||||
@Index(columnList = "uploaded", name = "video_uploaded_idx") })
|
||||
public class Video {
|
||||
|
||||
@Id
|
||||
|
|
Loading…
Reference in a new issue