aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-22 17:02:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-22 17:02:31 +0200
commitf0adb2701c1cf404ff63095f71e542bfe6d025ae (patch)
tree0dedcf0908339d2b8529af72d3a9d498e9ea4090 /server
parent792dbaf07f83fbe3f1d209cd9edf190442c7d2f3 (diff)
downloadPeerTube-f0adb2701c1cf404ff63095f71e542bfe6d025ae.tar.gz
PeerTube-f0adb2701c1cf404ff63095f71e542bfe6d025ae.tar.zst
PeerTube-f0adb2701c1cf404ff63095f71e542bfe6d025ae.zip
Modify video file size to bigint
Diffstat (limited to 'server')
-rw-r--r--server/models/video/video-file.ts2
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 => {