From f0adb2701c1cf404ff63095f71e542bfe6d025ae Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Sep 2017 17:02:31 +0200 Subject: Modify video file size to bigint --- server/models/video/video-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models') 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 } }, size: { - type: DataTypes.INTEGER, + type: DataTypes.BIGINT, allowNull: false, validate: { sizeValid: value => { -- cgit v1.2.3