diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-22 17:02:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-22 17:02:31 +0200 |
commit | f0adb2701c1cf404ff63095f71e542bfe6d025ae (patch) | |
tree | 0dedcf0908339d2b8529af72d3a9d498e9ea4090 /server/models/video/video-file.ts | |
parent | 792dbaf07f83fbe3f1d209cd9edf190442c7d2f3 (diff) | |
download | PeerTube-f0adb2701c1cf404ff63095f71e542bfe6d025ae.tar.gz PeerTube-f0adb2701c1cf404ff63095f71e542bfe6d025ae.tar.zst PeerTube-f0adb2701c1cf404ff63095f71e542bfe6d025ae.zip |
Modify video file size to bigint
Diffstat (limited to 'server/models/video/video-file.ts')
-rw-r--r-- | server/models/video/video-file.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts index 09a30d7e0..ead7f3e03 100644 --- a/server/models/video/video-file.ts +++ b/server/models/video/video-file.ts | |||
@@ -30,7 +30,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da | |||
30 | } | 30 | } |
31 | }, | 31 | }, |
32 | size: { | 32 | size: { |
33 | type: DataTypes.INTEGER, | 33 | type: DataTypes.BIGINT, |
34 | allowNull: false, | 34 | allowNull: false, |
35 | validate: { | 35 | validate: { |
36 | sizeValid: value => { | 36 | sizeValid: value => { |