]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/initializers/migrations/0600-duplicate-video-files.ts
Fix latest migrations
authorChocobozzz <me@florianbigard.com>
Fri, 19 Feb 2021 07:41:32 +0000 (08:41 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 19 Feb 2021 07:41:32 +0000 (08:41 +0100)
commite33933e44c82c02792372efe9590c9b8a3a495a0
tree7b2e2b0ec3a7fca80c2c1a2f0b7725ad68f2cfbe
parent6d22ea006b606f6d604727a277384525b0335a95
Fix latest migrations

We made an historical mistake: we have a unique key on videoId,
resolution AND fps. But the filenames and torrent filenames do not have
fps in their name

Remove these duplicate entries
server/initializers/constants.ts
server/initializers/migrations/0600-duplicate-video-files.ts [new file with mode: 0644]