diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-26 14:08:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-26 14:08:35 +0200 |
commit | 2e7cf5ae0cf8fbc9526742b67a0079d42211644c (patch) | |
tree | 5a7ad1a7c7033f3b6f894be8cfecb2af8f337da4 /server/models/account/account.ts | |
parent | 60e74f80d87cdb366a70a48e4316bb0dff4cab16 (diff) | |
download | PeerTube-2e7cf5ae0cf8fbc9526742b67a0079d42211644c.tar.gz PeerTube-2e7cf5ae0cf8fbc9526742b67a0079d42211644c.tar.zst PeerTube-2e7cf5ae0cf8fbc9526742b67a0079d42211644c.zip |
Fix video files duplicated when fps is null
Null values are not considered equal in a UNIQUE index
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r-- | server/models/account/account.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 580d920ce..27c75d886 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -19,7 +19,6 @@ import { isAccountDescriptionValid } from '../../helpers/custom-validators/accou | |||
19 | import { sendDeleteActor } from '../../lib/activitypub/send' | 19 | import { sendDeleteActor } from '../../lib/activitypub/send' |
20 | import { ActorModel } from '../activitypub/actor' | 20 | import { ActorModel } from '../activitypub/actor' |
21 | import { ApplicationModel } from '../application/application' | 21 | import { ApplicationModel } from '../application/application' |
22 | import { AvatarModel } from '../avatar/avatar' | ||
23 | import { ServerModel } from '../server/server' | 22 | import { ServerModel } from '../server/server' |
24 | import { getSort, throwIfNotValid } from '../utils' | 23 | import { getSort, throwIfNotValid } from '../utils' |
25 | import { VideoChannelModel } from '../video/video-channel' | 24 | import { VideoChannelModel } from '../video/video-channel' |