mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Change table declaration so unique unique constraints aren't generated.
This commit is contained in:
parent
46d9dd1a2e
commit
ad89de49a0
1 changed files with 2 additions and 1 deletions
|
@ -42,8 +42,9 @@ public class Playlist {
|
|||
@JoinColumn(name = "owner")
|
||||
private User owner;
|
||||
|
||||
@ElementCollection(fetch = FetchType.LAZY)
|
||||
@ManyToMany
|
||||
@Column(name = "videos")
|
||||
@CollectionTable(name = "playlists_videos_ids")
|
||||
@OrderColumn(name = "videos_order")
|
||||
private List<PlaylistVideo> videos;
|
||||
|
||||
|
|
Loading…
Reference in a new issue