1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix video files duplicated when fps is null

Null values are not considered equal in a UNIQUE index
This commit is contained in:
Chocobozzz 2018-09-26 14:08:35 +02:00
parent 60e74f80d8
commit 2e7cf5ae0c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 38 additions and 5 deletions

View file

@ -19,7 +19,6 @@ import { isAccountDescriptionValid } from '../../helpers/custom-validators/accou
import { sendDeleteActor } from '../../lib/activitypub/send'
import { ActorModel } from '../activitypub/actor'
import { ApplicationModel } from '../application/application'
import { AvatarModel } from '../avatar/avatar'
import { ServerModel } from '../server/server'
import { getSort, throwIfNotValid } from '../utils'
import { VideoChannelModel } from '../video/video-channel'