mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-05 21:11:05 +02:00
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…
x
Reference in New Issue
Block a user