mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 13:50:28 +05:30
Change table declaration so unique unique constraints aren't generated.
This commit is contained in:
parent
46d9dd1a2e
commit
ad89de49a0
@ -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 New Issue
Block a user